From 09c6608a8a072b8de9cbb13fc03f6d65acf58b4e Mon Sep 17 00:00:00 2001 From: coderaiser Date: Thu, 27 Sep 2012 10:41:46 -0400 Subject: [PATCH] minor changes --- lib/client/editor.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/client/editor.js b/lib/client/editor.js index 926502b1..aae1b63f 100644 --- a/lib/client/editor.js +++ b/lib/client/editor.js @@ -90,8 +90,9 @@ var CloudCommander, CloudFunc, CodeMirror; var lThis = this; - var initCodeMirror_f = function(pValue){ - new CodeMirror(CodeMirrorElement,{ + var initCodeMirror_f = function(pValue){ + createEditorDiv(); + CodeMirrorEditor.CodeMirror = new CodeMirror(CodeMirrorElement,{ mode : 'javascript', value : pValue, theme : 'night',