Skip to content

Commit

Permalink
feat: the flush method returns its parser
Browse files Browse the repository at this point in the history
This makes it behave like the other public methods.
  • Loading branch information
lddubeau committed Jul 4, 2018
1 parent 6280ef2 commit 68c2020
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/saxes.js
Original file line number Diff line number Diff line change
Expand Up @@ -813,6 +813,8 @@ class SAXParser {
this.this.emitNode("oncdata", this.cdata);
this.cdata = "";
}

return this;
}

closeText() {
Expand Down

0 comments on commit 68c2020

Please sign in to comment.