forked from 0x2620/pandora
Ox.Break() -> return false
This commit is contained in:
parent
323aac6a5b
commit
c52a8e0953
4 changed files with 8 additions and 8 deletions
|
|
@ -637,7 +637,7 @@ pandora.getItemFind = function(find) {
|
|||
&& ['=', '=='].indexOf(condition.operator) > -1
|
||||
) {
|
||||
itemFind = condition.value;
|
||||
Ox.Break();
|
||||
return false;
|
||||
}
|
||||
})
|
||||
return itemFind;
|
||||
|
|
@ -920,7 +920,7 @@ pandora.getVideoPartsAndPoints = function(durations, points) {
|
|||
Ox.loop(parts - 1, -1, -1, function(i) {
|
||||
if (offsets[i] <= point) {
|
||||
ret.parts[i] = i;
|
||||
Ox.Break();
|
||||
return false;
|
||||
}
|
||||
});
|
||||
});
|
||||
|
|
@ -1338,7 +1338,7 @@ pandora.unloadWindow = function() {
|
|||
Ox.forEach(pandora.user.ui.filters, function(key) {
|
||||
if (everyCondition(find.conditions, key, '==')) {
|
||||
state.key = '*';
|
||||
Ox.Break();
|
||||
return false;
|
||||
}
|
||||
});
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue