projects
/
pazpar2-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0f1286b
)
Use
author
Mike Taylor
<mike@indexdata.com>
Wed, 28 May 2014 14:48:51 +0000
(15:48 +0100)
committer
Mike Taylor
<mike@indexdata.com>
Wed, 28 May 2014 14:48:51 +0000
(15:48 +0100)
attrs[i].value
in place of the old
attrs[i].nodeValue
which Chrome 36.0.1985.18 beta says is deprecated.
js/pz2.js
patch
|
blob
|
history
diff --git
a/js/pz2.js
b/js/pz2.js
index
59c501d
..
824fd60
100644
(file)
--- a/
js/pz2.js
+++ b/
js/pz2.js
@@
-1194,7
+1194,7
@@
Element_parseChildNodes = function (node)
for (var i = 0; i < attrs.length; i++) {
hasChildElems = true;
var attrName = '@' + attrs[i].nodeName;
- var attrValue = attrs[i].nodeValue;
+ var attrValue = attrs[i].value;
parsed[attrName] = attrValue;
}