Skip to content

Commit

Permalink
Fix the paths test to deal with namespaces as needed by createElement…
Browse files Browse the repository at this point in the history
… for Firefox
  • Loading branch information
johnjbarton committed Jun 2, 2011
1 parent cf6a03d commit f36801b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/paths/paths.html
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
function paths(t){
//First confirm there is only one script tag for each
//module:
var scripts = document.getElementsByTagName("script"),
var scripts = document.getElementsByTagNameNS("*", "script"),
i, counts = {}, modName, props, something;
for (var i = scripts.length - 1; i > -1; i--) {
modName = scripts[i].getAttribute("data-requiremodule");
Expand Down

0 comments on commit f36801b

Please sign in to comment.