From: Simon Tatham Date: Fri, 5 Apr 2013 15:49:19 +0000 (+0000) Subject: Remove trailing commas at the ends of initialiser lists. IE 8 and 9 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ian/git?a=commitdiff_plain;h=841c9318f3bc8a368224af4931f2f007ff288b0a;p=sgt-puzzles.git 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] --- 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().