зеркало из https://github.com/mozilla/FlightDeck.git
clean up of editor/index
This commit is contained in:
Родитель
403222cece
Коммит
ee8e506f71
|
@ -15,9 +15,11 @@ window.editor = exports;
|
|||
|
||||
console.log('editor/index');
|
||||
|
||||
exports.tabs = new TabsController();
|
||||
exports.sidebar = new Sidebar({ editable: !settings.readonly });
|
||||
exports.ace = new Ace('editor-wrapper');
|
||||
var tabs = exports.tabs = new TabsController();
|
||||
var sidebar = exports.sidebar = new Sidebar({
|
||||
editable: !settings.readonly
|
||||
});
|
||||
var ace = exports.ace = new Ace('editor-wrapper');
|
||||
|
||||
var p = exports.package = new Package(settings);
|
||||
exports.controller = new PackageController(p, settings, exports.ace, exports.tabs, exports.sidebar);
|
||||
exports.controller = new PackageController(p, settings, ace, tabs, sidebar);
|
||||
|
|
Загрузка…
Ссылка в новой задаче