From c565d237025b74493bcd05c3c44a9e8cf436b775 Mon Sep 17 00:00:00 2001 From: coderaiser Date: Tue, 2 Oct 2012 11:25:30 -0400 Subject: [PATCH] minor changes --- lib/client/editor/_codemirror.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/lib/client/editor/_codemirror.js b/lib/client/editor/_codemirror.js index 840e06a8..b36b26ef 100644 --- a/lib/client/editor/_codemirror.js +++ b/lib/client/editor/_codemirror.js @@ -98,7 +98,7 @@ var CloudCommander, CloudFunc, CodeMirror; /** * function shows CodeMirror editor */ - CodeMirrorEditor.show = (function(){ + CodeMirrorEditor.show = function(){ /* if CodeMirrorEditor is not loaded - loading him */ if(!CodeMirrorLoaded) return load(); @@ -171,12 +171,12 @@ var CloudCommander, CloudFunc, CodeMirror; Loading = false; } }); - }); + }; /** * function hides CodeMirror editor */ - CodeMirrorEditor.hide = (function() { + CodeMirrorEditor.hide = function() { var lElem = CodeMirrorElement; KeyBinding.set(); @@ -184,12 +184,12 @@ var CloudCommander, CloudFunc, CodeMirror; FM.removeChild(lElem); Util.showPanel(); - }); + }; /** * function bind keys */ - cloudcmd.Editor.Keys = (function(pIsReadOnly){ + cloudcmd.Editor.Keys = function(pIsReadOnly){ ReadOnly = pIsReadOnly; var lThis = this.CodeMirror; @@ -238,7 +238,7 @@ var CloudCommander, CloudFunc, CodeMirror; key_event(); }; } - }); + }; cloudcmd.Editor.CodeMirror = CodeMirrorEditor; })(); \ No newline at end of file