update conf

This commit is contained in:
James Campos 2011-08-11 12:44:01 -07:00
parent 6cd5db8733
commit a200b1b06a
2 changed files with 6 additions and 2 deletions

View File

@ -341,10 +341,12 @@
},
cb: {
checked: function() {
return $.set(this.name, this.checked);
$.set(this.name, this.checked);
return conf[this.name] = this.checked;
},
value: function() {
return $.set(this.name, this.value);
$.set(this.name, this.value);
return conf[this.name] = this.value;
}
},
addStyle: function(css) {

View File

@ -232,8 +232,10 @@ $.extend $,
cb:
checked: ->
$.set @name, @checked
conf[@name] = @checked
value: ->
$.set @name, @value
conf[@name] = @value
addStyle: (css) ->
style = $.el 'style',
textContent: css