From 3cd7bd0dd18b32df90298a756b0ca425e01aaf57 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matthias=20Bartelme=C3=9F?= Date: Sun, 19 Feb 2012 12:34:24 +0100 Subject: [PATCH] Since ace2_inner.js is already scoped by require-kernel, function OUTER is pretty useless --- static/js/ace2_inner.js | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/static/js/ace2_inner.js b/static/js/ace2_inner.js index 5963609d..9e353e20 100644 --- a/static/js/ace2_inner.js +++ b/static/js/ace2_inner.js @@ -49,8 +49,7 @@ var newSkipList = require('/skiplist').newSkipList; var undoModule = require('/undomodule').undoModule; var makeVirtualLineView = require('/virtual_lines').makeVirtualLineView; -function OUTER(gscope) -{ + var DEBUG = false; //$$ build script replaces the string "var DEBUG=true;//$$" with "var DEBUG=false;" // changed to false @@ -5708,10 +5707,4 @@ function OUTER(gscope) lineNumbersShown--; } } - } - -}; - -OUTER(this); - -exports.OUTER = OUTER; // This is probably unimportant. + } \ No newline at end of file