aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Tatham <anakin@pobox.com>2013-04-05 15:49:19 +0000
committerSimon Tatham <anakin@pobox.com>2013-04-05 15:49:19 +0000
commit841c9318f3bc8a368224af4931f2f007ff288b0a (patch)
treee464a527038e4dc1a18261e962189d29aa93f54a
parent3bc0e5cc2443983947cff915bc10b76a9f5ec83b (diff)
downloadpuzzles-841c9318f3bc8a368224af4931f2f007ff288b0a.zip
puzzles-841c9318f3bc8a368224af4931f2f007ff288b0a.tar.gz
puzzles-841c9318f3bc8a368224af4931f2f007ff288b0a.tar.bz2
puzzles-841c9318f3bc8a368224af4931f2f007ff288b0a.tar.xz
Remove trailing commas at the ends of initialiser lists. IE 8 and 9
didn't like them, which doesn't matter as such since they won't run these JS puzzles anyway (no TypedArray support) but it hints that other JS implementations might be picky about this too. [originally from svn r9804]
-rw-r--r--emcclib.js2
-rw-r--r--emccpre.js2
2 files changed, 2 insertions, 2 deletions
diff --git a/emcclib.js b/emcclib.js
index cbdd668..57dd2c4 100644
--- a/emcclib.js
+++ b/emcclib.js
@@ -747,5 +747,5 @@ mergeInto(LibraryManager.library, {
*/
js_focus_canvas: function() {
onscreen_canvas.focus();
- },
+ }
});
diff --git a/emccpre.js b/emccpre.js
index fb58a6a..430aae4 100644
--- a/emccpre.js
+++ b/emccpre.js
@@ -37,7 +37,7 @@ var update_xmin, update_xmax, update_ymin, update_ymax;
// callbacks.
var Module = {
'noInitialRun': true,
- 'noExitRuntime': true,
+ 'noExitRuntime': true
};
// Variables used by js_canvas_find_font_midpoint().