fixed bug with execution of function load_all in CloudCommander.Editor.CodeMirror object

This commit is contained in:
coderaiser 2012-07-23 03:03:15 -04:00
parent 45335a721f
commit 9c295416c7
2 changed files with 5 additions and 5 deletions

View file

@ -1,5 +1,5 @@
{
"cache" : {"allowed" : true},
"cache" : {"allowed" : false},
"minification" : {
"js" : false,
"css" : true,

View file

@ -5,10 +5,7 @@ var CloudCommander, CodeMirror;
CloudCommander.Editor = {};
CloudCommander.Editor.CodeMirror = {
load: (function(){ /* function loads CodeMirror js and css files */
/* load CodeMirror main module */
CloudCommander.jsload('http://codemirror.net/lib/codemirror.js', load_all(this));
/* function loads css files
* of CodeMirror
*/
@ -67,6 +64,9 @@ CloudCommander.Editor.CodeMirror = {
CloudCommander.jsload('http://codemirror.net/mode/xml/xml.js', lShowEditor_f);
};
}
/* load CodeMirror main module */
CloudCommander.jsload('http://codemirror.net/lib/codemirror.js', load_all(this));
}),
show : (function(){ /* function shows CodeMirror editor */
/* if CloudEditor is not loaded - loading him */