mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
fix(xml parser): Fix text node data event.
This commit is contained in:
@@ -105,7 +105,7 @@ EasySAXParser.prototype.on = function(name, cb) {
|
||||
case 'error': this.onError = cb || nullFunc; break;
|
||||
case 'startNode': this.onStartNode = cb || nullFunc; break;
|
||||
case 'endNode': this.onEndNode = cb || nullFunc; break;
|
||||
case 'textNode': onTextNode = cb || nullFunc; break;
|
||||
case 'textNode': this.onTextNode = cb || nullFunc; break;
|
||||
case 'cdata': this.onCDATA = cb || nullFunc; break;
|
||||
|
||||
case 'comment': this.onComment = cb; this.is_onComment = !!cb; break;
|
||||
|
||||
Reference in New Issue
Block a user