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