mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-20 18:18:56 +00:00
feature(dom) add combineLoad
This commit is contained in:
parent
b0a453c6df
commit
24adfd4bb4
1 changed files with 13 additions and 0 deletions
|
|
@ -1108,6 +1108,19 @@ var CloudCmd, Util, DOM, CloudFunc, Dialog;
|
|||
}
|
||||
|
||||
|
||||
this.combineLoad = function(names, callback) {
|
||||
var COMBINE = '/combine/';
|
||||
|
||||
names = names + ''
|
||||
.replace(',', ':');
|
||||
Loader.ajax({
|
||||
url : COMBINE + names,
|
||||
error : Images.showError,
|
||||
success : Util.retExec(callback)
|
||||
});
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* load jquery from google cdn or local copy
|
||||
* @param pCallBack
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue