mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-18 17:05:17 +00:00
minor changes
This commit is contained in:
parent
4c181a026d
commit
c565d23702
1 changed files with 6 additions and 6 deletions
|
|
@ -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;
|
||||
})();
|
||||
Loading…
Add table
Add a link
Reference in a new issue