summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Xu <alex_y_xu@yahoo.ca>2013-12-31 10:43:23 -0800
committerAlex Xu <alex_y_xu@yahoo.ca>2013-12-31 10:43:23 -0800
commit8f9c4bc6783633407cbc5799a0df2e618bb66c22 (patch)
tree93ed57c81cc1855a168f9d593f0412baa1261091
parent2ed42da37ce81b1aecbccd6e937bb47676639f33 (diff)
downloadhtml5ks-8f9c4bc6783633407cbc5799a0df2e618bb66c22.tar.xz
html5ks-8f9c4bc6783633407cbc5799a0df2e618bb66c22.zip
Appease JSHint.
-rw-r--r--www/js/api.js4
-rw-r--r--www/js/imachine.js2
2 files changed, 3 insertions, 3 deletions
diff --git a/www/js/api.js b/www/js/api.js
index 2c31c7b..14b6a97 100644
--- a/www/js/api.js
+++ b/www/js/api.js
@@ -104,7 +104,7 @@ window.html5ks.api = new (function () {
var types = {
"webm": "webm",
"ogg": "ogv",
- "h264": "mp4",
+ "h264": "mp4"
};
for (var type in types) {
if (Modernizr.video[type]) {
@@ -521,4 +521,4 @@ window.html5ks.api = new (function () {
html5ks.state[type] = status;
document.getElementById(type).style.display = status ? "block" : "none";
}
-};});
+};})();
diff --git a/www/js/imachine.js b/www/js/imachine.js
index 8ca9cd6..c2cc03b 100644
--- a/www/js/imachine.js
+++ b/www/js/imachine.js
@@ -103,4 +103,4 @@ html5ks.imachine = new (function () {
return deferred.promise;
}
};
-});
+})();