diff options
| author | john.j.camilleri <john.j.camilleri@chalmers.se> | 2013-07-25 07:36:34 +0000 |
|---|---|---|
| committer | john.j.camilleri <john.j.camilleri@chalmers.se> | 2013-07-25 07:36:34 +0000 |
| commit | 99cfb3463998e670673e8fd49525cca9e5e02edf (patch) | |
| tree | f5859bcf75fe07cba61a5301394c973f239b5987 | |
| parent | 850e02cb6e620aeb9ee37a8867f47ef6b6432009 (diff) | |
RGL Browser: now includes Syntax Editor tab!
| -rw-r--r-- | src/www/syntax-editor/editor_menu.js | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/www/syntax-editor/editor_menu.js b/src/www/syntax-editor/editor_menu.js index 3ebecb836..13d43233a 100644 --- a/src/www/syntax-editor/editor_menu.js +++ b/src/www/syntax-editor/editor_menu.js @@ -11,6 +11,7 @@ function EditorMenu(editor,opts) { show_to_menu: true, show_random_button: true, show_import: true, + show_debug: false, } // Apply supplied options @@ -92,7 +93,9 @@ function EditorMenu(editor,opts) { ]); } - appendChildren(t.container, [t.ui.debug_toggle]); + if (t.options.show_debug) { + appendChildren(t.container, [t.ui.debug_toggle]); + } /* --- Client state initialisation -------------------------------------- */ this.editor = editor; |
