X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/3789b528d8dd8aad4558e38e22d775bcab1cbd36..6746dc89c47ed01b165cc1152533605f97eb8e8d:/docs/source/Xml.html diff --git a/docs/source/Xml.html b/docs/source/Xml.html index 567099ba..6c9f8be8 100644 --- a/docs/source/Xml.html +++ b/docs/source/Xml.html @@ -208,19 +208,15 @@ Ext.define('Ext.data.reader.Xml', { } 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) { - var val; if (node && node.firstChild) { - val = node.firstChild.nodeValue; + return node.firstChild.nodeValue; } - return val || null; + return undefined; }, //inherit docs @@ -321,7 +317,6 @@ Ext.define('Ext.data.reader.Xml', { this.xmlData = doc; return this.callParent([doc]); } -}); - +});