[Pkg-javascript-commits] [ltx] 262/469: Don't leak to global

Jonas Smedegaard dr at jones.dk
Wed Aug 31 13:03:10 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 cd5dfd13ef8ca5e02d474bb92b2890baac5985f6
Author: Lloyd Watkin <lloyd.watkin at surevine.com>
Date:   Tue Jun 4 17:11:53 2013 +0100

    Don't leak to global
---
 lib/sax_ltx.js | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/lib/sax_ltx.js b/lib/sax_ltx.js
index cb3b709..5514913 100644
--- a/lib/sax_ltx.js
+++ b/lib/sax_ltx.js
@@ -23,7 +23,8 @@ var SaxLtx = module.exports = function SaxLtx() {
     this.write = function(data) {
 	if (typeof data !== 'string')
 	    data = data.toString();
-	var pos = 0;
+        var pos = 0
+        var attrName
 
 	/* Anything from previous write()? */
 	if (remainder) {

-- 
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