cosmetic changes

This commit is contained in:
j 2014-02-06 15:04:47 +00:00
parent 42cd85c59b
commit 1420ca914b

View file

@ -161,7 +161,7 @@ Ox.VideoElement = function(options, self) {
}
function loadItems(callback) {
var currentTime = 0, i =0,
var currentTime = 0, i = 0,
items = self.options.items.map(function(item) {
return Ox.isObject(item) ? Ox.clone(item, true) : {src: item};
});
@ -323,7 +323,7 @@ Ox.VideoElement = function(options, self) {
if (self.items.length) {
// Set to end of items if time > duration
if (Ox.isUndefined(currentItem) && Ox.isUndefined(currentTime)) {
currentItem = self.items.length -1;
currentItem = self.items.length - 1;
currentTime = self.items[currentItem].duration + self.items[currentItem]['in'];
}
Ox.Log('Video', 'sCT', time, '=>', currentItem, currentTime);