New: Mass series editor

This commit is contained in:
Mark McDowall
2013-12-08 21:25:27 -08:00
parent f76c4700a6
commit a9ece10144
26 changed files with 606 additions and 34 deletions

View File

@@ -0,0 +1,24 @@
'use strict';
define(
[
'vent',
'AppLayout',
'marionette'
], function (vent, AppLayout, Marionette) {
return Marionette.AppRouter.extend({
initialize: function () {
vent.on(vent.Commands.OpenControlPanelCommand, this._openControlPanel, this);
vent.on(vent.Commands.CloseControlPanelCommand, this._closeControlPanel, this);
},
_openControlPanel: function (view) {
AppLayout.controlPanelRegion.show(view);
},
_closeControlPanel: function () {
AppLayout.controlPanelRegion.closePanel();
}
});
});