aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorCalvin Tam <calvintam236@gmail.com>2015-08-13 00:43:11 -0700
committerCalvin Tam <calvintam236@gmail.com>2015-08-13 00:43:11 -0700
commit20090aee032b60c8f9733efc51f5c1febed97252 (patch)
treebed4e170b5700e564d700d551b9dc9ede6229748 /src
parentc4ca7fe0d2243b32d69712f30582a71b1b353cc0 (diff)
downloadplyr-20090aee032b60c8f9733efc51f5c1febed97252.tar.lz
plyr-20090aee032b60c8f9733efc51f5c1febed97252.tar.xz
plyr-20090aee032b60c8f9733efc51f5c1febed97252.zip
Fixed missing semicolons mentioned by JSHint
Diffstat (limited to 'src')
-rw-r--r--src/js/plyr.js14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/js/plyr.js b/src/js/plyr.js
index 4b724960..861c091e 100644
--- a/src/js/plyr.js
+++ b/src/js/plyr.js
@@ -607,7 +607,7 @@
return false;
}
})()
- }
+ };
return storage;
}
@@ -904,7 +904,7 @@
_injectScript("https://www.youtube.com/iframe_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);
}
}
- }
+ };
xhr.open("get", captionSrc, true);
@@ -1573,7 +1573,7 @@
player.hours = parseInt(((time / 60) / 60) % 60);
// 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.
player.secs = ("0" + player.secs).slice(-2);
@@ -1985,7 +1985,7 @@
support: function(mimeType) { return _supportMime(player, mimeType); },
destroy: _destroy,
restore: _init
- }
+ };
}
// Check for support
@@ -2022,7 +2022,7 @@
basic: basic,
full: full
};
- }
+ };
// Expose setup function
api.setup = function(options) {
@@ -2063,6 +2063,6 @@
}
return players;
- }
+ };
}(this.plyr = this.plyr || {})); \ No newline at end of file