refactor(edit) load

This commit is contained in:
coderaiser 2014-06-12 02:56:26 -04:00
parent ee407cfdd2
commit ba40fdc50e

View file

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