This commit is contained in:
Sean McArthur 2011-10-20 20:59:46 -05:00
Родитель 403222cece
Коммит ee8e506f71
1 изменённых файлов: 6 добавлений и 4 удалений

Просмотреть файл

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