From caad2c60579ab0a7741b43d3f7fd4297c6d5dda9 Mon Sep 17 00:00:00 2001 From: coderaiser Date: Fri, 6 Sep 2013 10:44:34 +0000 Subject: [PATCH] fix(dom) jqueryLoad: pCallBack -> onload: pCallBack --- lib/client/dom.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/client/dom.js b/lib/client/dom.js index b4aa23cc..901dd9e0 100644 --- a/lib/client/dom.js +++ b/lib/client/dom.js @@ -1021,7 +1021,9 @@ var CloudCmd, Util, DOM, CloudFunc; onload: pCallBack, onerror: function() { - Loader.jsload('/lib/client/jquery.js', pCallBack); + Loader.jsload('/lib/client/jquery.js', { + onload: pCallBack + }); /* if could not load jquery from google server * maybe we offline, load font from local