RGL Browser: now includes Syntax Editor tab!

This commit is contained in:
john.j.camilleri
2013-07-25 07:36:34 +00:00
parent 850e02cb6e
commit 99cfb34639

View File

@@ -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;