mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 18:55:26 +00:00
fix(dom) retJSLoad: this -> Loader
This commit is contained in:
parent
3530f0872f
commit
94d11aeddd
1 changed files with 3 additions and 2 deletions
|
|
@ -611,7 +611,8 @@ var CloudCmd, Util, DOM, CloudFunc;
|
|||
},
|
||||
|
||||
LoaderProto = function() {
|
||||
var XMLHTTP;
|
||||
var XMLHTTP,
|
||||
Loader = this;
|
||||
|
||||
/**
|
||||
* Function gets id by src
|
||||
|
|
@ -930,7 +931,7 @@ var CloudCmd, Util, DOM, CloudFunc;
|
|||
*/
|
||||
this.retJSLoad = function(pSrc, pFunc) {
|
||||
var lRet = function() {
|
||||
return this.jsload(pSrc, pFunc);
|
||||
return Loader.jsload(pSrc, pFunc);
|
||||
};
|
||||
|
||||
return lRet;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue