1
0
Fork 0
forked from 0x2620/oxjs

Ox.break -> Ox.Break

This commit is contained in:
rolux 2012-05-24 19:20:29 +02:00
commit 544e117cb3
41 changed files with 100 additions and 100 deletions

View file

@ -186,10 +186,10 @@ Ox.AnnotationPanel = function(options, self) {
if (item.id == annotationId) {
annotation = item;
found = true;
Ox.break();
Ox.Break()();
}
});
found && Ox.break();
found && Ox.Break()();
});
return annotation;
}
@ -201,10 +201,10 @@ Ox.AnnotationPanel = function(options, self) {
if (item.id == annotationId) {
folder = self.$folder[i];
found = true;
Ox.break();
Ox.Break()();
}
});
found && Ox.break();
found && Ox.Break()();
});
return folder;
}
@ -426,7 +426,7 @@ Ox.AnnotationPanel = function(options, self) {
self.deselecting = true;
$folder.options({selected: ''});
self.deselecting = false;
Ox.break();
Ox.Break()();
}
});
scrollToSelected(self.options.layers[index].type);

View file

@ -157,7 +157,7 @@ Ox.BlockVideoTimeline = function(options, self) {
Ox.forEach(self.options.subtitles, function(v) {
if (v['in'] <= position && v.out > position) {
subtitle = v;
Ox.break();
Ox.Break()();
}
});
return subtitle;

View file

@ -118,7 +118,7 @@ Ox.SmallVideoTimeline = function(options, self) {
Ox.forEach(self.options.subtitles, function(v) {
if (v['in'] <= position && v.out > position) {
subtitle = v;
Ox.break();
Ox.Break()();
}
});
return subtitle;

View file

@ -866,10 +866,10 @@ Ox.VideoEditor = function(options, self) {
if (item.id == annotationId) {
value = item.value;
found = true;
Ox.break();
Ox.Break()();
}
});
found && Ox.break();
found && Ox.Break()();
});
return value;
}
@ -920,7 +920,7 @@ Ox.VideoEditor = function(options, self) {
) {
position = v;
found = true;
Ox.break();
Ox.Break()();
}
});
direction == -1 && positions.reverse();
@ -1107,7 +1107,7 @@ Ox.VideoEditor = function(options, self) {
'in': i ? self.options.cuts[i - 1] : 0,
out: cut - 1 / self.options.fps
};
Ox.break();
Ox.Break()();
}
});
self.options.selected = '';

View file

@ -230,7 +230,7 @@ Ox.VideoEditorPlayer = function(options, self) {
Ox.forEach(self.options.subtitles, function(v) {
if (v['in'] <= self.options.position && v['out'] > self.options.position) {
subtitle = v.value;
Ox.break();
Ox.Break()();
}
});
return subtitle;

View file

@ -271,7 +271,7 @@ Ox.VideoElement = function(options, self) {
if (item.offsets[i] <= time) {
currentPart = i;
currentTime = time - item.offsets[i];
Ox.break();
Ox.Break()();
}
});
Ox.Log('Video', 'sCT', time, currentPart, currentTime);

View file

@ -1227,7 +1227,7 @@ Ox.VideoPlayer = function(options, self) {
&& v.out > self.options.position
) {
censored = true;
Ox.break();
Ox.Break()();
}
});
return censored;
@ -1405,7 +1405,7 @@ Ox.VideoPlayer = function(options, self) {
&& v.out >= self.options.position
) {
subtitle = v.text;
Ox.break();
Ox.Break()();
}
});
return subtitle;
@ -1454,7 +1454,7 @@ Ox.VideoPlayer = function(options, self) {
var left = 0;
Ox.forEach(self.options.controlsBottom, function(control) {
if (control == 'timeline') {
Ox.break();
Ox.Break()();
}
left += control == 'position' ? self.positionWidth : 16
});
@ -1538,7 +1538,7 @@ Ox.VideoPlayer = function(options, self) {
) {
result = v
found = true;
Ox.break();
Ox.Break()();
}
});
direction == -1 && self.results.reverse();

View file

@ -485,7 +485,7 @@ Ox.VideoTimelinePlayer = function(options, self) {
Ox.forEach(self.options.subtitles, function(v) {
if (v['in'] <= position && v.out > position) {
subtitle = v;
Ox.break();
Ox.Break()();
}
});
return subtitle;