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
|
|
@ -929,10 +929,12 @@ Ox.VideoEditor = function(options, self) {
|
|||
if (item.id == annotationId) {
|
||||
value = item.value;
|
||||
found = true;
|
||||
Ox.Break();
|
||||
return false; // break
|
||||
}
|
||||
});
|
||||
found && Ox.Break();
|
||||
if (found) {
|
||||
return false; // break
|
||||
}
|
||||
});
|
||||
return value;
|
||||
}
|
||||
|
|
@ -983,7 +985,7 @@ Ox.VideoEditor = function(options, self) {
|
|||
) {
|
||||
position = v;
|
||||
found = true;
|
||||
Ox.Break();
|
||||
return false; // break
|
||||
}
|
||||
});
|
||||
direction == -1 && positions.reverse();
|
||||
|
|
@ -1170,7 +1172,7 @@ Ox.VideoEditor = function(options, self) {
|
|||
'in': i ? self.options.cuts[i - 1] : 0,
|
||||
out: cut - 1 / self.options.fps
|
||||
};
|
||||
Ox.Break();
|
||||
return false; // break
|
||||
}
|
||||
});
|
||||
setPoint('in', points['in']);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue