plugins/raphael.export.js
[raphael] / 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