changed CloudEditor to CodeMirror

This commit is contained in:
coderaiser 2012-07-20 08:15:37 -04:00
parent dd9f45272e
commit cf68db5bc9

View file

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