diff options
author | Alex Xu <alex_y_xu@yahoo.ca> | 2014-01-05 19:40:25 -0500 |
---|---|---|
committer | Alex Xu <alex_y_xu@yahoo.ca> | 2014-01-05 19:40:25 -0500 |
commit | 00faee3432b8c78ce0f4c528e602f550663390e9 (patch) | |
tree | b18c4cf9659c38f3dac82b5e7070596e500f83ab | |
parent | 68e4235070b0b7fd983bfc4e2ffd57fef87db576 (diff) | |
download | html5ks-00faee3432b8c78ce0f4c528e602f550663390e9.tar.xz html5ks-00faee3432b8c78ce0f4c528e602f550663390e9.zip |
Actually fix ReferenceError on startup.
-rw-r--r-- | www/js/html5ks.js | 2 |
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); }; |