mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-18 00:47:01 +00:00
refactor(edit) load
This commit is contained in:
parent
ee407cfdd2
commit
ba40fdc50e
1 changed files with 7 additions and 5 deletions
|
|
@ -413,11 +413,13 @@ var CloudCmd, Util, DOM, CloudFunc, ace, DiffProto, diff_match_patch, Zip, MenuI
|
|||
|
||||
function load(callback) {
|
||||
var url = CloudFunc.getJoinURL([
|
||||
DIR + 'theme-tomorrow_night_blue.js',
|
||||
DIR + 'ext-language_tools.js',
|
||||
DIR + 'ext-searchbox.js',
|
||||
DIR + 'ext-modelist.js'
|
||||
]);
|
||||
'theme-tomorrow_night_blue.js',
|
||||
'ext-language_tools.js',
|
||||
'ext-searchbox.js',
|
||||
'ext-modelist.js'
|
||||
].map(function(name) {
|
||||
return DIR + name;
|
||||
}));
|
||||
|
||||
Util.time(Name + ' load');
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue