From: Alan Knowles Date: Wed, 22 Oct 2014 04:28:22 +0000 (+0800) Subject: plugins/raphael.export.js X-Git-Url: http://git.roojs.org/?p=raphael;a=commitdiff_plain;h=a7dc15ac769f4816101427289270f25a43c03f8d plugins/raphael.export.js --- diff --git a/plugins/raphael.export.js b/plugins/raphael.export.js index bdd3b91..352ba11 100644 --- a/plugins/raphael.export.js +++ b/plugins/raphael.export.js @@ -182,7 +182,7 @@ }, 'path' : function(node) { var initial = ( node.matrix.a === 1 && node.matrix.d === 1 ) ? {} : { 'transform' : node.matrix.toString() }; - + Roo.log(node); return tag( 'path', reduce( @@ -197,7 +197,7 @@ return initial; }, { - style: node.attrs.style + style: 'fill:' + node.attr.fill } ), node.matrix