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]
This commit is contained in:
Simon Tatham
2013-04-05 15:49:19 +00:00
parent 3bc0e5cc24
commit 841c9318f3
2 changed files with 2 additions and 2 deletions

View File

@ -747,5 +747,5 @@ mergeInto(LibraryManager.library, {
*/ */
js_focus_canvas: function() { js_focus_canvas: function() {
onscreen_canvas.focus(); onscreen_canvas.focus();
}, }
}); });

View File

@ -37,7 +37,7 @@ var update_xmin, update_xmax, update_ymin, update_ymax;
// callbacks. // callbacks.
var Module = { var Module = {
'noInitialRun': true, 'noInitialRun': true,
'noExitRuntime': true, 'noExitRuntime': true
}; };
// Variables used by js_canvas_find_font_midpoint(). // Variables used by js_canvas_find_font_midpoint().