[Pkg-javascript-commits] [ltx] 233/469: sax_ltx: rm dead code

Jonas Smedegaard dr at jones.dk
Wed Aug 31 13:03:07 UTC 2016


This is an automated email from the git hooks/post-receive script.

js pushed a commit to branch master
in repository ltx.

commit 846960299c71b4e7eadfad44f74bdb751b641f4a
Author: Astro <astro at spaceboyz.net>
Date:   Tue Mar 20 14:46:14 2012 +0100

    sax_ltx: rm dead code
---
 lib/sax_ltx.js | 7 -------
 1 file changed, 7 deletions(-)

diff --git a/lib/sax_ltx.js b/lib/sax_ltx.js
index 22939f3..cb3b709 100644
--- a/lib/sax_ltx.js
+++ b/lib/sax_ltx.js
@@ -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')

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/ltx.git



More information about the Pkg-javascript-commits mailing list