refactor(edit) load

This commit is contained in:
coderaiser 2014-06-12 03:30:54 -04:00
parent ba40fdc50e
commit 75c00b3356

View file

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