summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorAlex Xu <alex_y_xu@yahoo.ca>2014-01-05 19:40:25 -0500
committerAlex Xu <alex_y_xu@yahoo.ca>2014-01-05 19:40:25 -0500
commit00faee3432b8c78ce0f4c528e602f550663390e9 (patch)
treeb18c4cf9659c38f3dac82b5e7070596e500f83ab /www
parent68e4235070b0b7fd983bfc4e2ffd57fef87db576 (diff)
downloadhtml5ks-00faee3432b8c78ce0f4c528e602f550663390e9.tar.xz
html5ks-00faee3432b8c78ce0f4c528e602f550663390e9.zip
Actually fix ReferenceError on startup.
Diffstat (limited to 'www')
-rw-r--r--www/js/html5ks.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/www/js/html5ks.js b/www/js/html5ks.js
index d6c227b..f6f226a 100644
--- a/www/js/html5ks.js
+++ b/www/js/html5ks.js
@@ -193,7 +193,7 @@ window.html5ks = {
} else {
xhr.open("GET", "json/" + name + ".json");
xhr.onload = function () {
- d = JSON.parse(xhr.responseText);
+ var d = JSON.parse(xhr.responseText);
html5ks.data[name] = d;
deferred.resolve(d);
};