Skip to content
This repository has been archived by the owner on Jul 31, 2019. It is now read-only.

disable-lint #2024

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions locales/en-US/messages.properties
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@ navTextSize=Text size
navColorTheme=Color theme
navWrapText=Wrap long lines
navAllowJS=Allow JavaScript
navAllowLS=Allow Linting
navPreview=PREVIEW
navViewTutorial=TUTORIAL
navToggleAutoUpdateTitle=Toggle Preview Auto-refresh
Expand Down Expand Up @@ -197,6 +198,7 @@ navDarkThemeIconTitle=Switch to the dark theme
navLightThemeIconTitle=Switch to the light theme
navWrapTextTitle=Toggle wrapping long lines of code
navAllowJSTitle=Toggle running JavaScript code in the preview
navAllowLSTitle=Toggle running interactive-linting
navPreviewTitle=View the Preview
navViewTutorialTitle=View the Project Tutorial
navDOMElementInspectorIconTitle=Toggle Element Inspector
Expand Down
3 changes: 1 addition & 2 deletions public/editor/scripts/editor/js/fc/bramble-menus.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,7 @@ define(function(require) {
}

return false;
});

});

// Theme Toggle
function lightThemeUI() {
Expand Down
7 changes: 7 additions & 0 deletions views/editor/nav-options.html
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,13 @@
<div class="toggle-button"></div>
</div>
</li>
<li>
<span>{{ gettext("navAllowLS") }}</span>
<div title="{{ gettext("navAllowLSTitle") }}" class="switch-toggle switch-enabled" id="allow-lint-toggle">
<div class="toggle-backing"></div>
<div class="toggle-button"></div>
</div>
</li>
</ul>
</div>
</div>
Expand Down