From ce8d60e32c137e2937fae2fa30d17ccc30d4d18b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matthias=20Bartelme=C3=9F?= Date: Sun, 19 Feb 2012 14:30:57 +0100 Subject: [PATCH] remamed to Ace2Inner() and made it more classlike --- static/js/ace2_inner.js | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/static/js/ace2_inner.js b/static/js/ace2_inner.js index 9e2271ca1..9e5f2a3d5 100644 --- a/static/js/ace2_inner.js +++ b/static/js/ace2_inner.js @@ -51,7 +51,7 @@ var undoModule = require('/undomodule').undoModule; var makeVirtualLineView = require('/virtual_lines').makeVirtualLineView; - +function Ace2Inner(){ var DEBUG = false; //$$ build script replaces the string "var DEBUG=true;//$$" with "var DEBUG=false;" // changed to false var isSetUp = false; @@ -5652,4 +5652,8 @@ var makeVirtualLineView = require('/virtual_lines').makeVirtualLineView; lineNumbersShown--; } } - } \ No newline at end of file + } + +}; + +exports.editor = new Ace2Inner(); \ No newline at end of file