update conf
This commit is contained in:
parent
6cd5db8733
commit
a200b1b06a
@ -341,10 +341,12 @@
|
|||||||
},
|
},
|
||||||
cb: {
|
cb: {
|
||||||
checked: function() {
|
checked: function() {
|
||||||
return $.set(this.name, this.checked);
|
$.set(this.name, this.checked);
|
||||||
|
return conf[this.name] = this.checked;
|
||||||
},
|
},
|
||||||
value: function() {
|
value: function() {
|
||||||
return $.set(this.name, this.value);
|
$.set(this.name, this.value);
|
||||||
|
return conf[this.name] = this.value;
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
addStyle: function(css) {
|
addStyle: function(css) {
|
||||||
|
|||||||
@ -232,8 +232,10 @@ $.extend $,
|
|||||||
cb:
|
cb:
|
||||||
checked: ->
|
checked: ->
|
||||||
$.set @name, @checked
|
$.set @name, @checked
|
||||||
|
conf[@name] = @checked
|
||||||
value: ->
|
value: ->
|
||||||
$.set @name, @value
|
$.set @name, @value
|
||||||
|
conf[@name] = @value
|
||||||
addStyle: (css) ->
|
addStyle: (css) ->
|
||||||
style = $.el 'style',
|
style = $.el 'style',
|
||||||
textContent: css
|
textContent: css
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user