[Pkg-javascript-commits] [dojo] 02/16: Fixes #11510: fix issue with regexp looking like a comment for debugAtAllCosts removal.
David Prévot
taffit at moszumanska.debian.org
Thu Aug 21 17:39:02 UTC 2014
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to annotated tag 1.5.3
in repository dojo.
commit 43584e0669ef7c49b903b4d98eaecde83c9d5a7b
Author: James Burke <jrburke at gmail.com>
Date: Wed Aug 4 04:08:56 2010 +0000
Fixes #11510: fix issue with regexp looking like a comment for debugAtAllCosts removal.
git-svn-id: http://svn.dojotoolkit.org/src/branches/1.5/dojo@22671 560b804f-0ae3-0310-86f3-f6aa0a117693
---
parser.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/parser.js b/parser.js
index 08dea88..734fb62 100644
--- a/parser.js
+++ b/parser.js
@@ -394,7 +394,7 @@ dojo.parser = new function(){
}else if(scripts && child.nodeName.toLowerCase() == "script"){
// if <script type="dojo/...">, save in scripts[]
type = child.getAttribute("type");
- if (type && /^dojo\//i.test(type)) {
+ if (type && /^dojo\/\w/i.test(type)) {
scripts.push(child);
}
}else if(recurse){
--
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