mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 10:45:47 +00:00
changed CloudEditor to CodeMirror
This commit is contained in:
parent
dd9f45272e
commit
cf68db5bc9
1 changed files with 3 additions and 3 deletions
|
|
@ -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();
|
||||
}
|
||||
}
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue