diff options
Diffstat (limited to 'lib/xml/reader.js')
| -rw-r--r-- | lib/xml/reader.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/xml/reader.js b/lib/xml/reader.js index 41aabde..2797323 100644 --- a/lib/xml/reader.js +++ b/lib/xml/reader.js @@ -42,7 +42,7 @@ function readString(xmlString, namespaceMap) { } }); - var convertedAttributes = {}; + var convertedAttributes = Object.create(null); _.forEach(element.attributes, function(attribute) { convertedAttributes[convertName(attribute)] = attribute.value; }); |
