threw out slate, mustache and zepto. replaced with minified.js

This commit is contained in:
Keegan
2016-01-08 18:54:57 -08:00
parent 58a1a3f498
commit 08bff3ac4b
125 changed files with 10464 additions and 260 deletions
+22 -22
View File
@@ -3,45 +3,45 @@
module.exports = {
html: {
get: function() {
return this.$manipulatorTarget.html();
return this.$manipulatorTarget.get('innerHTML');
},
set: function(value) {
return this.$manipulatorTarget.html(value)
.triggerHandler('change');
return this.$manipulatorTarget.set('innerHTML', value)
.trigger('change');
}
},
val: {
get: function() {
return this.$manipulatorTarget.val();
return this.$manipulatorTarget.get('value');
},
set: function(value) {
return this.$manipulatorTarget.val(value)
.triggerHandler('change');
return this.$manipulatorTarget.set('value', value)
.trigger('change');
},
disable: function() {
return this.$manipulatorTarget.prop('disabled', true)
.triggerHandler('change');
return this.$manipulatorTarget.set('disabled', true)
.trigger('change');
},
enable: function() {
return this.$manipulatorTarget.prop('disabled', false)
.triggerHandler('change');
return this.$manipulatorTarget.set('disabled', false)
.trigger('change');
}
},
checked: {
get: function() {
return this.$manipulatorTarget.prop('checked');
return this.$manipulatorTarget.get('checked');
},
set: function(value) {
return this.$manipulatorTarget.prop('checked', value)
.triggerHandler('change');
return this.$manipulatorTarget.set('checked', value)
.trigger('change');
},
disable: function() {
return this.$manipulatorTarget.prop('disabled', true)
.triggerHandler('change');
return this.$manipulatorTarget.set('disabled', true)
.trigger('change');
},
enable: function() {
return this.$manipulatorTarget.prop('disabled', false)
.triggerHandler('change');
return this.$manipulatorTarget.set('disabled', false)
.trigger('change');
}
},
radiogroup: {
@@ -51,15 +51,15 @@ module.exports = {
set: function(value) {
this.$manipulatorTarget.find('[value="' + value + '"]')
.prop('checked', true);
return this.$manipulatorTarget.triggerHandler('change');
return this.$manipulatorTarget.trigger('change');
},
disable: function() {
return this.$manipulatorTarget.prop('disabled', true)
.triggerHandler('change');
return this.$manipulatorTarget.set('disabled', true)
.trigger('change');
},
enable: function() {
return this.$manipulatorTarget.prop('disabled', false)
.triggerHandler('change');
return this.$manipulatorTarget.set('disabled', false)
.trigger('change');
}
}
};