plugins/raphael.export.js
authorAlan Knowles <alan@roojs.com>
Wed, 22 Oct 2014 04:28:22 +0000 (12:28 +0800)
committerAlan Knowles <alan@roojs.com>
Wed, 22 Oct 2014 04:28:22 +0000 (12:28 +0800)
plugins/raphael.export.js

index bdd3b91..352ba11 100644 (file)
                },
                'path' : function(node) {
                        var initial = ( node.matrix.a === 1 && node.matrix.d === 1 ) ? {} : { 'transform' : node.matrix.toString() };
-
+            Roo.log(node);
                        return tag(
                                'path',
                                reduce(
                                                return initial;
                                        },
                     {
-                            style:  node.attrs.style
+                            style:  'fill:' + node.attr.fill
                     }
                                ),
                                node.matrix