diff nodejs/svg.js @ 708:ac9c20db953e

Default alpha of a tag is '1'
author Thinker K.F. Li <thinker@branda.to>
date Fri, 13 Aug 2010 17:42:59 +0800
parents fdd68e69c59f
children 920c9e6e4214
line wrap: on
line diff
--- a/nodejs/svg.js	Fri Aug 13 17:26:25 2010 +0800
+++ b/nodejs/svg.js	Fri Aug 13 17:42:59 2010 +0800
@@ -257,7 +257,7 @@
 	} else {
 	    var items = style.value().split(';');
 		var fill = '';
-		var alpha;
+		var alpha = 1;
 		for(i in items) {
 		    sys.puts(items[i]);
 			var f = items[i].split(':');