update conf
This commit is contained in:
parent
6cd5db8733
commit
a200b1b06a
@ -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) {
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user