Mercurial > MadButterfly
comparison 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 |
comparison
equal
deleted
inserted
replaced
719:1b6856fda760 | 720:9c5abb4e114b |
---|---|
230 style.family = 'courier'; | 230 style.family = 'courier'; |
231 parseTextStyle(style,n); | 231 parseTextStyle(style,n); |
232 var nodes = n.childNodes(); | 232 var nodes = n.childNodes(); |
233 var k; | 233 var k; |
234 for(k in nodes) { | 234 for(k in nodes) { |
235 var n = nodes[k].name(); | 235 var c= nodes[k].name(); |
236 if (n == "tspan") { | 236 if (c == "tspan") { |
237 this.parseTSpan(tcoord,nodes[k],style); | 237 this.parseTSpan(tcoord,nodes[k],style); |
238 } else { | 238 } else { |
239 } | 239 } |
240 } | 240 } |
241 | 241 |