feature(edit) anyLoadOnLoad -> combineURL && jsload

This commit is contained in:
coderaiser 2013-11-26 15:54:40 +00:00
parent 7f3f3c4e73
commit 265536e105

View file

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