Refactor structure to be more testable

This commit is contained in:
Keegan
2016-01-27 00:03:07 -08:00
parent b960dc19f4
commit 13b84f7e6c
19 changed files with 391 additions and 3095 deletions
+4 -2
View File
@@ -19,10 +19,12 @@ module.exports = {
.trigger('change');
},
disable: function() {
return this.$manipulatorTarget.set('disabled', true);
return this.$manipulatorTarget.set('disabled', true)
.trigger('disabled');
},
enable: function() {
return this.$manipulatorTarget.set('disabled', false);
return this.$manipulatorTarget.set('disabled', false)
.trigger('enabled');
}
},
checked: {