# HG changeset patch # User wycc # Date 1284484729 -28800 # Node ID 2a73ff24c141abb03336028e2fe34fecc2fbd778 # Parent 379fd510ba38fcb86caa3a58e0bf5cef9ee44f96 Use accessor to replace the method to setup the opacity diff -r 379fd510ba38 -r 2a73ff24c141 nodejs/svg.js --- a/nodejs/svg.js Wed Sep 15 01:17:43 2010 +0800 +++ b/nodejs/svg.js Wed Sep 15 01:18:49 2010 +0800 @@ -536,7 +536,7 @@ parseGroupStyle(style, n); if(style.opacity) { sys.puts(style.opacity); - coord.set_opacity(style.opacity); + coord.opacity=style.opacity; } for(k in nodes) {