From 9a6fe31419f6719eac2f36e5cc397245c7249768 Mon Sep 17 00:00:00 2001 From: John McLear Date: Sun, 27 Mar 2011 10:46:45 +0000 Subject: [PATCH] Removed trailing , that broke IE7 --- static/js/ace2_inner.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/static/js/ace2_inner.js b/static/js/ace2_inner.js index 8f26a99c..842c4ea6 100644 --- a/static/js/ace2_inner.js +++ b/static/js/ace2_inner.js @@ -16,8 +16,8 @@ function OUTER(gscope) { - var DEBUG=true;//$$ build script replaces the string "var DEBUG=true;//$$" with "var DEBUG=false;" - + var DEBUG=false;//$$ build script replaces the string "var DEBUG=true;//$$" with "var DEBUG=false;" +// changed to false var isSetUp = false; var THE_TAB = ' ';//4 @@ -768,7 +768,7 @@ function OUTER(gscope) { else { setAttributeOnSelection('author', ''); } - }, + } }; function execCommand(cmd) { @@ -1312,7 +1312,7 @@ function OUTER(gscope) { isTimeUp = (isTimeUp || function() { return false; }); - if (DEBUG && top.DONT_INCORP || top.DEBUG_DONT_INCORP) return false; + if (DEBUG && window.DONT_INCORP || window.DEBUG_DONT_INCORP) return false; var p = PROFILER("incorp", false); @@ -2999,7 +2999,7 @@ function OUTER(gscope) { } function handleKeyEvent(evt) { - if (DEBUG && top.DONT_INCORP) return; + // if (DEBUG && window.DONT_INCORP) return; if (! isEditable) return;