mirror of
https://github.com/pebble-dev/clay.git
synced 2026-08-31 22:36:56 -04:00
Refactor structure to be more testable
This commit is contained in:
@@ -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: {
|
||||
|
||||
Reference in New Issue
Block a user