chiark / gitweb /
Remove trailing commas at the ends of initialiser lists. IE 8 and 9
authorSimon Tatham <anakin@pobox.com>
Fri, 5 Apr 2013 15:49:19 +0000 (15:49 +0000)
committerSimon Tatham <anakin@pobox.com>
Fri, 5 Apr 2013 15:49:19 +0000 (15:49 +0000)
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]

emcclib.js
emccpre.js

index cbdd668d04c67699f4fce5496f96046bfd9381de..57dd2c4fd649b92e0cc83bce3afd3ef1ec4bdef2 100644 (file)
@@ -747,5 +747,5 @@ mergeInto(LibraryManager.library, {
      */
     js_focus_canvas: function() {
         onscreen_canvas.focus();
-    },
+    }
 });
index fb58a6a935adb1b2daeb301cca05f23edd5f98a8..430aae4afdb65725bf645d13066b3b4cd7b0e31f 100644 (file)
@@ -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().