diff --git a/lib/client/editor.js b/lib/client/editor.js index af2c8f0c..4d11a433 100644 --- a/lib/client/editor.js +++ b/lib/client/editor.js @@ -2,7 +2,11 @@ var CloudCommander, CloudFunc, CodeMirror; /* object contains editors CodeMirror * and later will be Ace */ -CloudCommander.Editor = new CloudCommander.Util(); +CloudCommander.Editor = { + get : (function(){ + return this.Codemirror + }) +}; CloudCommander.Editor.CodeMirror = new CloudCommander.Util(); /* indicator says CodeMirror still loads */ @@ -61,7 +65,6 @@ CloudCommander.Editor.CodeMirror.load = (function(pParent){ }); /* function shows CodeMirror editor */ -CloudCommander.Editor.show = CloudCommander.Editor.CodeMirror.show = (function(){ /* if CloudEditor is not loaded - loading him */ if(!this.getById('CloudEditor'))