Comparing version 0.6.4 to 0.6.5
@@ -865,3 +865,3 @@ /* | ||
core.NamedNodeMap = function NamedNodeMap(document) { | ||
this._nodes = {}; | ||
this._nodes = Object.create(null); | ||
this._nsStore = {}; | ||
@@ -922,3 +922,3 @@ this.length = 0; | ||
if (!this._nodes.hasOwnProperty(name)) { | ||
if (!this._nodes[name]) { | ||
throw new core.DOMException(NOT_FOUND_ERR); | ||
@@ -939,8 +939,6 @@ } | ||
for (var member in this._nodes) { | ||
if (this._nodes.hasOwnProperty(member)) { | ||
if (current === index && this._nodes[member]) { | ||
return this._nodes[member]; | ||
} | ||
current++; | ||
if (current === index && this._nodes[member]) { | ||
return this._nodes[member]; | ||
} | ||
current++; | ||
} | ||
@@ -947,0 +945,0 @@ return null; |
{ | ||
"name": "jsdom", | ||
"version": "0.6.4", | ||
"version": "0.6.5", | ||
"description": "A JavaScript implementation of the W3C DOM", | ||
@@ -5,0 +5,0 @@ "keywords": ["dom", "w3c", "html"], |
@@ -291,3 +291,3 @@ # jsdom | ||
jsdom/index 89/89 100% | ||
jsdom/parsing 7/7 100% | ||
jsdom/parsing 8/8 100% | ||
jsonp/jsonp 1/1 100% | ||
@@ -297,3 +297,3 @@ browser/contextifyReplacement 4/4 100% | ||
------------------------------------------------------ | ||
TOTALS: 0/2605 failed; 100% success | ||
TOTALS: 0/2606 failed; 100% success | ||
``` | ||
@@ -300,0 +300,0 @@ |
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
349199
10136