Comparing version 0.4.0 to 0.4.1
@@ -79,2 +79,7 @@ var core = require("./core").dom.level2.core, | ||
resolve: function(document, href) { | ||
// if getAttribute returns null, there is no href | ||
// lets resolve to an empty string (nulls are not expected farther up) | ||
if(href === null) | ||
return ''; | ||
if (href.match(/^\w+:\/\//)) { | ||
@@ -81,0 +86,0 @@ return href; |
{ | ||
"name": "jsdom", | ||
"version": "0.4.0", | ||
"version": "0.4.1", | ||
"description": "A JavaScript implementation of the W3C DOM", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
344234
10012