From 94d11aeddd59577cdbab0f37e79a08391904ddea Mon Sep 17 00:00:00 2001 From: coderaiser Date: Wed, 4 Sep 2013 07:30:15 +0000 Subject: [PATCH] fix(dom) retJSLoad: this -> Loader --- lib/client/dom.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/client/dom.js b/lib/client/dom.js index a5c35aab..dc9c83f7 100644 --- a/lib/client/dom.js +++ b/lib/client/dom.js @@ -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;