Displaying 1 result from an estimated 1 matches for "_removecomments".
2006 Mar 23
4
XML parser fixed
...this.XMLParsed = this.asHash();
if(this.options.onComplete) {
this.options.onComplete(this.XMLParsed);
}
},
_nodeToHash: function (node)
{
Element.cleanWhitespace(node);
//
// remove comments, firefox fix
node = this._removeComments(node);
if ((node.attributes && node.attributes.length > 0) || (node.hasChildNodes() && (node.childNodes[0].nodeType == 1 || node.childNodes[0].nodeType == 7))) {
var localHash = {};
if (node.attributes && node.attributes.length >= 1) {...