From cf68db5bc91ae89fbe63794c38b37622f6c4be97 Mon Sep 17 00:00:00 2001 From: coderaiser Date: Fri, 20 Jul 2012 08:15:37 -0400 Subject: [PATCH] changed CloudEditor to CodeMirror --- lib/client/editor.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/client/editor.js b/lib/client/editor.js index 5a5ff18e..e601bb35 100644 --- a/lib/client/editor.js +++ b/lib/client/editor.js @@ -1,6 +1,6 @@ var CloudCommander, CodeMirror; CloudCommander.Editor = {}; -CloudCommander.Editor.CloudMirror = { +CloudCommander.Editor.CodeMirror = { load: (function(){ CloudCommander.jsload('http://codemirror.net/lib/codemirror.js', load_all(this)); @@ -105,7 +105,7 @@ CloudCommander.Editor.Keys = (function(){ "use strict"; /* loading js and css of CodeMirror */ - CloudCommander.Editor.CloudMirror.load(); + CloudCommander.Editor.CodeMirror.load(); var key_event=function(event){ @@ -113,7 +113,7 @@ CloudCommander.Editor.Keys = (function(){ if(CloudCommander.keyBinded){ /* if f4 pressed */ if(event.keyCode===115){ - CloudCommander.Editor.CloudMirror.show(); + CloudCommander.Editor.CodeMirror.show(); } } };