shithub: puzzles

Download patch

ref: 841c9318f3bc8a368224af4931f2f007ff288b0a
parent: 3bc0e5cc2443983947cff915bc10b76a9f5ec83b
author: Simon Tatham <anakin@pobox.com>
date: Fri Apr 5 11:49:19 EDT 2013

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]

--- a/emcclib.js
+++ b/emcclib.js
@@ -747,5 +747,5 @@
      */
     js_focus_canvas: function() {
         onscreen_canvas.focus();
-    },
+    }
 });
--- a/emccpre.js
+++ b/emccpre.js
@@ -37,7 +37,7 @@
 // callbacks.
 var Module = {
     'noInitialRun': true,
-    'noExitRuntime': true,
+    'noExitRuntime': true
 };
 
 // Variables used by js_canvas_find_font_midpoint().