this should cover it!

This commit is contained in:
Keivan Beigi 2013-09-11 17:42:15 -07:00
parent 7f5136120d
commit c090b3efa1
15 changed files with 166 additions and 331 deletions

View file

@ -3,9 +3,8 @@ define(
[
'app',
'marionette',
'Commands/CommandController',
'Shared/Actioneer'
], function (App, Marionette, CommandController, Actioneer) {
'Commands/CommandController'
], function (App, Marionette, CommandController) {
return Marionette.ItemView.extend({
template : 'Shared/Toolbar/ButtonTemplate',
@ -31,7 +30,7 @@ define(
var command = this.model.get('command');
if (command) {
Actioneer.bindToCommand({
CommandController.bindToCommand({
command: {name: command},
element: this.$el
});