Skip to content

Commit

Permalink
sax_ltx: rm dead code
Browse files Browse the repository at this point in the history
  • Loading branch information
astro committed Mar 20, 2012
1 parent a4fd8ae commit 8469602
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions lib/sax_ltx.js
Expand Up @@ -19,13 +19,6 @@ var SaxLtx = module.exports = function SaxLtx() {
var state = STATE_TEXT, remainder;
var tagName, attrs, endTag, selfClosing, attrQuote;
var recordStart = 0;
function endRecording() {
if (that.hasOwnProperty('recordStart')) {
var recorded = data.slice(that.recordStart, pos);
delete that.recordStart;
return recorded;
}
}

this.write = function(data) {
if (typeof data !== 'string')
Expand Down

0 comments on commit 8469602

Please sign in to comment.