git.ithinksw.org
/
extjs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Upgrade to ExtJS 4.0.2 - Released 06/09/2011
[extjs.git]
/
docs
/
source
/
Xml.html
diff --git
a/docs/source/Xml.html
b/docs/source/Xml.html
index
567099b
..
6c9f8be
100644
(file)
--- a/
docs/source/Xml.html
+++ b/
docs/source/Xml.html
@@
-208,19
+208,15
@@
Ext.define('Ext.data.reader.Xml', {
}
return function(root) {
}
return function(root) {
- var node = Ext.DomQuery.selectNode(expr, root),
- val = me.getNodeValue(node);
-
- return Ext.isEmpty(val) ? null : val;
+ return me.getNodeValue(Ext.DomQuery.selectNode(expr, root));
};
},
getNodeValue: function(node) {
};
},
getNodeValue: function(node) {
- var val;
if (node && node.firstChild) {
if (node && node.firstChild) {
-
val =
node.firstChild.nodeValue;
+
return
node.firstChild.nodeValue;
}
}
- return
val || null
;
+ return
undefined
;
},
//inherit docs
},
//inherit docs
@@
-321,7
+317,6
@@
Ext.define('Ext.data.reader.Xml', {
this.xmlData = doc;
return this.callParent([doc]);
}
this.xmlData = doc;
return this.callParent([doc]);
}
-});
-</pre>
+});</pre>
</body>
</html>
</body>
</html>