mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-28 18:23:35 +00:00
refactor(edward) DOM.loadSocket -> loadRemote
This commit is contained in:
parent
ee6837b953
commit
964f7899e9
1 changed files with 6 additions and 2 deletions
|
|
@ -35,7 +35,11 @@ var join, ace, load, Util, DOM, CloudCmd, Diff, io, Zip, Format, restafary;
|
|||
exec.series([
|
||||
loadFiles,
|
||||
function(callback) {
|
||||
DOM.loadSocket(initSocket);
|
||||
loadRemote('socket', {
|
||||
name : 'io',
|
||||
noPrefix: true
|
||||
}, initSocket);
|
||||
|
||||
callback();
|
||||
},
|
||||
function() {
|
||||
|
|
@ -390,7 +394,7 @@ var join, ace, load, Util, DOM, CloudCmd, Diff, io, Zip, Format, restafary;
|
|||
DOM.load.js(url, callback);
|
||||
},
|
||||
function(callback) {
|
||||
DOM.loadRemote('pako', callback);
|
||||
loadRemote('pako', callback);
|
||||
}
|
||||
], function(error) {
|
||||
if (error)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue