From 841c9318f3bc8a368224af4931f2f007ff288b0a Mon Sep 17 00:00:00 2001 From: Simon Tatham Date: Fri, 5 Apr 2013 15:49:19 +0000 Subject: [PATCH] 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] --- emcclib.js | 2 +- emccpre.js | 2 +- 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().