# HG changeset patch # User Thinker K.F. Li # Date 1281807878 -28800 # Node ID 9c5abb4e114b1ae38e33b58c8db9418d65cd57a5 # Parent 1b6856fda760b52917896e5f56348326900d6f3d Fix issue of redefine a variable with the same name of a argument diff -r 1b6856fda760 -r 9c5abb4e114b nodejs/svg.js --- 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 { }