Basic build process and transforming json into html

This commit is contained in:
Keegan
2015-10-11 00:15:18 -07:00
parent 8b489173df
commit 227bb49786
54 changed files with 3136 additions and 0 deletions
+47
View File
@@ -0,0 +1,47 @@
'use strict';
module.exports = {
html: {
get: function() {
return this.$manipulatorTarget.html();
},
set: function(value) {
return this.$manipulatorTarget.html(value)
.triggerHandler('change');
}
},
val: {
get: function() {
return this.$manipulatorTarget.val();
},
set: function(value) {
return this.$manipulatorTarget.val(value)
.triggerHandler('change');
},
disable: function() {
return this.$manipulatorTarget.prop('disabled', true)
.triggerHandler('change');
},
enable: function() {
return this.$manipulatorTarget.prop('disabled', false)
.triggerHandler('change');
}
},
checked: {
get: function() {
return this.$manipulatorTarget.prop('checked');
},
set: function(value) {
return this.$manipulatorTarget.prop('checked', value)
.triggerHandler('change');
},
disable: function() {
return this.$manipulatorTarget.prop('disabled', true)
.triggerHandler('change');
},
enable: function() {
return this.$manipulatorTarget.prop('disabled', false)
.triggerHandler('change');
}
}
};