From e526f3df818ea21760c5eeb4e2f728845bb93140 Mon Sep 17 00:00:00 2001 From: Alex Xu Date: Wed, 21 Aug 2013 12:55:52 -0400 Subject: continue work on i18n --- www/index.html | 4 ++-- www/js/html5ks.js | 6 ++---- 2 files changed, 4 insertions(+), 6 deletions(-) (limited to 'www') diff --git a/www/index.html b/www/index.html index cbd4a18..bc4de59 100644 --- a/www/index.html +++ b/www/index.html @@ -62,8 +62,8 @@
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 () { -- cgit v1.2.3-70-g09d2