Fixed missing semicolons mentioned by JSHint

This commit is contained in:
Calvin Tam 2015-08-13 00:43:11 -07:00
parent c4ca7fe0d2
commit 20090aee03

View File

@ -607,7 +607,7 @@
return false; return false;
} }
})() })()
} };
return storage; return storage;
} }
@ -904,7 +904,7 @@
_injectScript("https://www.youtube.com/iframe_api"); _injectScript("https://www.youtube.com/iframe_api");
// Setup callback for the API // Setup callback for the API
window.onYouTubeIframeAPIReady = function () { _YTReady(id, container); } window.onYouTubeIframeAPIReady = function () { _YTReady(id, container); };
} }
} }
@ -1148,7 +1148,7 @@
_log("There was a problem loading the caption file via AJAX.", true); _log("There was a problem loading the caption file via AJAX.", true);
} }
} }
} };
xhr.open("get", captionSrc, true); xhr.open("get", captionSrc, true);
@ -1573,7 +1573,7 @@
player.hours = parseInt(((time / 60) / 60) % 60); player.hours = parseInt(((time / 60) / 60) % 60);
// Do we need to display hours? // Do we need to display hours?
var displayHours = (parseInt(((player.media.duration / 60) / 60) % 60) > 0) var displayHours = (parseInt(((player.media.duration / 60) / 60) % 60) > 0);
// Ensure it"s two digits. For example, 03 rather than 3. // Ensure it"s two digits. For example, 03 rather than 3.
player.secs = ("0" + player.secs).slice(-2); player.secs = ("0" + player.secs).slice(-2);
@ -1985,7 +1985,7 @@
support: function(mimeType) { return _supportMime(player, mimeType); }, support: function(mimeType) { return _supportMime(player, mimeType); },
destroy: _destroy, destroy: _destroy,
restore: _init restore: _init
} };
} }
// Check for support // Check for support
@ -2022,7 +2022,7 @@
basic: basic, basic: basic,
full: full full: full
}; };
} };
// Expose setup function // Expose setup function
api.setup = function(options) { api.setup = function(options) {
@ -2063,6 +2063,6 @@
} }
return players; return players;
} };
}(this.plyr = this.plyr || {})); }(this.plyr = this.plyr || {}));