[Pkg-javascript-commits] [dojo] 32/87: backport #14724 fixes; refs #14724; !strict
David Prévot
taffit at moszumanska.debian.org
Thu Aug 21 17:39:18 UTC 2014
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to annotated tag 1.7.5
in repository dojo.
commit 632ce3f1067a460769701383872a4b234a2e046a
Author: Rawld Gill <rgill at altoviso.com>
Date: Fri Feb 10 17:16:54 2012 +0000
backport #14724 fixes; refs #14724; !strict
git-svn-id: http://svn.dojotoolkit.org/src/branches/1.7/dojo@27839 560b804f-0ae3-0310-86f3-f6aa0a117693
---
dojo.js | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/dojo.js b/dojo.js
index 7be87f3..b1cf33f 100644
--- a/dojo.js
+++ b/dojo.js
@@ -687,7 +687,9 @@
}
if(isArray(a1)){
// signature is (requestList [,callback])
-
+ if(!a1.length){
+ a2 && a2();
+ }else{
syntheticMid = "require*" + uid();
// resolve the request list with respect to the reference module
@@ -725,6 +727,7 @@
}
checkComplete();
}
+ }
return contextRequire;
},
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/dojo.git
More information about the Pkg-javascript-commits
mailing list