forked from 0x2620/oxjs
remove Ox.Break
This commit is contained in:
parent
4139e171ca
commit
bda90f6b6b
44 changed files with 152 additions and 165 deletions
|
|
@ -1290,7 +1290,7 @@ Ox.VideoPlayer = function(options, self) {
|
|||
&& v.out > self.options.position
|
||||
) {
|
||||
censored = true;
|
||||
return false;
|
||||
return false; // break
|
||||
}
|
||||
});
|
||||
return censored;
|
||||
|
|
@ -1468,7 +1468,7 @@ Ox.VideoPlayer = function(options, self) {
|
|||
&& v.out >= self.options.position
|
||||
) {
|
||||
subtitle = v.text;
|
||||
return false;
|
||||
return false; // break
|
||||
}
|
||||
});
|
||||
return subtitle;
|
||||
|
|
@ -1517,7 +1517,7 @@ Ox.VideoPlayer = function(options, self) {
|
|||
var left = 0;
|
||||
Ox.forEach(self.options.controlsBottom, function(control) {
|
||||
if (control == 'timeline') {
|
||||
Ox.Break();
|
||||
return false; // break
|
||||
}
|
||||
left += control == 'position' ? self.positionWidth : 16
|
||||
});
|
||||
|
|
@ -1600,7 +1600,7 @@ Ox.VideoPlayer = function(options, self) {
|
|||
) {
|
||||
result = v
|
||||
found = true;
|
||||
Ox.Break();
|
||||
return false; // break
|
||||
}
|
||||
});
|
||||
direction == -1 && self.results.reverse();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue