forked from 0x2620/oxjs
typos
This commit is contained in:
parent
c30fe02850
commit
147d637b7b
32 changed files with 83 additions and 83 deletions
|
|
@ -607,7 +607,7 @@ Ox.List = function(options, self) {
|
|||
Ox.forEach(self.$items, function($item, i) {
|
||||
if ($item.options('data')[self.options.unique] == id) {
|
||||
pos = i;
|
||||
Ox.Break()();
|
||||
Ox.Break();
|
||||
}
|
||||
});
|
||||
return pos;
|
||||
|
|
@ -695,7 +695,7 @@ Ox.List = function(options, self) {
|
|||
ids.push(self.$items[pos].options('data')[self.options.unique]);
|
||||
} else {
|
||||
notFound = true;
|
||||
Ox.Break()();
|
||||
Ox.Break();
|
||||
}
|
||||
});
|
||||
if (notFound) {
|
||||
|
|
@ -1153,7 +1153,7 @@ Ox.List = function(options, self) {
|
|||
if (Ox.toLatin(v.title).toUpperCase().indexOf(str) == 0) {
|
||||
select(i);
|
||||
scrollToPosition(i);
|
||||
Ox.Break()();
|
||||
Ox.Break();
|
||||
}
|
||||
});
|
||||
}
|
||||
|
|
@ -1340,7 +1340,7 @@ Ox.List = function(options, self) {
|
|||
if (oldIds.indexOf(item.id) > -1) {
|
||||
newIds.push(item.id);
|
||||
}
|
||||
newIds.length == oldIds.length && Ox.Break()();
|
||||
newIds.length == oldIds.length && Ox.Break();
|
||||
});
|
||||
setSelected(newIds);
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue