forked from 0x2620/oxjs
self.setOption ~> that.update
This commit is contained in:
parent
9ee0742b53
commit
005d50c389
56 changed files with 919 additions and 933 deletions
|
|
@ -23,7 +23,11 @@ Ox.ArrayInput = function(options, self) {
|
|||
value: [],
|
||||
width: 256
|
||||
})
|
||||
.options(options || {});
|
||||
.options(options || {})
|
||||
.update({
|
||||
value: setValue,
|
||||
width: setWidths
|
||||
});
|
||||
|
||||
if (self.options.label) {
|
||||
self.$label = Ox.Label({
|
||||
|
|
@ -176,14 +180,6 @@ Ox.ArrayInput = function(options, self) {
|
|||
});
|
||||
}
|
||||
|
||||
self.setOption = function(key, value) {
|
||||
if (key == 'value') {
|
||||
setValue();
|
||||
} else if (key == 'width') {
|
||||
setWidths();
|
||||
}
|
||||
}
|
||||
|
||||
/*@
|
||||
setErrors <f> setErrors
|
||||
(values) -> <u> set erros
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue