forked from 0x2620/oxjs
use Ox.break
This commit is contained in:
parent
3d4a79b6a2
commit
04784630d3
42 changed files with 117 additions and 118 deletions
|
|
@ -863,10 +863,10 @@ Ox.VideoEditor = function(options, self) {
|
|||
if (item.id == annotationId) {
|
||||
value = item.value;
|
||||
found = true;
|
||||
return false;
|
||||
Ox.break();
|
||||
}
|
||||
});
|
||||
return !found;
|
||||
found && Ox.break();
|
||||
});
|
||||
return value;
|
||||
}
|
||||
|
|
@ -917,7 +917,7 @@ Ox.VideoEditor = function(options, self) {
|
|||
) {
|
||||
position = v;
|
||||
found = true;
|
||||
return false;
|
||||
Ox.break();
|
||||
}
|
||||
});
|
||||
direction == -1 && positions.reverse();
|
||||
|
|
@ -1104,7 +1104,7 @@ Ox.VideoEditor = function(options, self) {
|
|||
'in': i ? self.options.cuts[i - 1] : 0,
|
||||
out: cut - 1 / self.options.fps
|
||||
};
|
||||
return false;
|
||||
Ox.break();
|
||||
}
|
||||
});
|
||||
self.options.selected = '';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue