mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-18 17:05:17 +00:00
fixed bug with execution of function load_all in CloudCommander.Editor.CodeMirror object
This commit is contained in:
parent
45335a721f
commit
9c295416c7
2 changed files with 5 additions and 5 deletions
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"cache" : {"allowed" : true},
|
||||
"cache" : {"allowed" : false},
|
||||
"minification" : {
|
||||
"js" : false,
|
||||
"css" : true,
|
||||
|
|
|
|||
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue