forked from GitHub/gf-core
RGL Browser: now includes Syntax Editor tab!
This commit is contained in:
@@ -11,6 +11,7 @@ function EditorMenu(editor,opts) {
|
|||||||
show_to_menu: true,
|
show_to_menu: true,
|
||||||
show_random_button: true,
|
show_random_button: true,
|
||||||
show_import: true,
|
show_import: true,
|
||||||
|
show_debug: false,
|
||||||
}
|
}
|
||||||
|
|
||||||
// Apply supplied options
|
// Apply supplied options
|
||||||
@@ -92,7 +93,9 @@ function EditorMenu(editor,opts) {
|
|||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (t.options.show_debug) {
|
||||||
appendChildren(t.container, [t.ui.debug_toggle]);
|
appendChildren(t.container, [t.ui.debug_toggle]);
|
||||||
|
}
|
||||||
|
|
||||||
/* --- Client state initialisation -------------------------------------- */
|
/* --- Client state initialisation -------------------------------------- */
|
||||||
this.editor = editor;
|
this.editor = editor;
|
||||||
|
|||||||
Reference in New Issue
Block a user