1
0
Fork 0
forked from 0x2620/oxjs

use Ox.break

This commit is contained in:
rolux 2012-05-22 09:11:26 +02:00
commit 04784630d3
42 changed files with 117 additions and 118 deletions

View file

@ -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 = '';