diff nodejs/svg.js @ 720:9c5abb4e114b

Fix issue of redefine a variable with the same name of a argument
author Thinker K.F. Li <thinker@branda.to>
date Sun, 15 Aug 2010 01:44:38 +0800
parents 1b6856fda760
children 6879aa403306
line wrap: on
line diff
--- a/nodejs/svg.js	Sun Aug 15 01:41:10 2010 +0800
+++ b/nodejs/svg.js	Sun Aug 15 01:44:38 2010 +0800
@@ -232,8 +232,8 @@
 	var nodes = n.childNodes();
 	var k;
 	for(k in nodes) {
-	    var n = nodes[k].name();
-		if (n == "tspan") {
+	    var c= nodes[k].name();
+		if (c == "tspan") {
 	        this.parseTSpan(tcoord,nodes[k],style);
 		} else {
 		}