mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-20 10:09:04 +00:00
feature(edit) anyLoadOnLoad -> combineURL && jsload
This commit is contained in:
parent
7f3f3c4e73
commit
265536e105
1 changed files with 7 additions and 5 deletions
|
|
@ -200,12 +200,14 @@ var CloudCmd, Util, DOM, CloudFunc, ace, DiffProto, diff_match_patch;
|
|||
Util.time(Name + ' load');
|
||||
|
||||
var lFiles = [
|
||||
DIR + 'theme-tomorrow_night_blue.js',
|
||||
DIR + 'ext-language_tools.js',
|
||||
DIR + 'ace.js',
|
||||
];
|
||||
DIR + 'theme-tomorrow_night_blue.js',
|
||||
DIR + 'ext-language_tools.js',
|
||||
DIR + 'ace.js',
|
||||
],
|
||||
lURL = DOM.combineURL(lFiles);
|
||||
|
||||
DOM.anyLoadOnLoad(lFiles, function() {
|
||||
|
||||
DOM.jsload(lURL, function() {
|
||||
Util.timeEnd(Name + ' load');
|
||||
Loading = false;
|
||||
Util.exec(pCallBack);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue