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(); } } };