summaryrefslogtreecommitdiff
path: root/www/js
diff options
context:
space:
mode:
authorAlex Xu <alex_y_xu@yahoo.ca>2013-08-21 12:55:52 -0400
committerAlex Xu <alex_y_xu@yahoo.ca>2013-08-21 12:55:52 -0400
commite526f3df818ea21760c5eeb4e2f728845bb93140 (patch)
tree1dfc39e5d1b281accf5e4c56fbc57542c8d62593 /www/js
parenta1bdc1283d2464bff2bc725988b2fdc74b34ef74 (diff)
downloadhtml5ks-e526f3df818ea21760c5eeb4e2f728845bb93140.tar.xz
html5ks-e526f3df818ea21760c5eeb4e2f728845bb93140.zip
continue work on i18n
Diffstat (limited to 'www/js')
-rw-r--r--www/js/html5ks.js6
1 files changed, 2 insertions, 4 deletions
diff --git a/www/js/html5ks.js b/www/js/html5ks.js
index ff3fc18..74ab43b 100644
--- a/www/js/html5ks.js
+++ b/www/js/html5ks.js
@@ -1,8 +1,6 @@
"use strict";
window.html5ks = {
- data: {
- script: {}
- },
+ data: {},
persistent: {},
init: function () {
var defaultPersistent = {
@@ -211,13 +209,13 @@ window.html5ks = {
}
this.api.init();
this.menu.init();
+ this.i18n.init();
if (this.persistent.fullscreen) {
document.body.addEventListener("click", function onclick() {
this.removeEventListener("click", onclick, false);
html5ks.fullscreen();
}, false);
}
- this.i18n.init();
},
start: function () {
this.fetch("json", "script").then(function () {