forked from 0x2620/oxjs
Ox.break -> Ox.Break
This commit is contained in:
parent
b7d9d9ba54
commit
544e117cb3
41 changed files with 100 additions and 100 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