plugins/raphael.export.js
[raphael] / plugins / raphael.export.js
index 48d8f36..24e14cc 100644 (file)
                                reduce(
                                        node.attrs,
                                        function(initial, value, name) {
-                                               if ( name === 'path' ) name = 'd';
+                                               if ( name === 'path' ) {
+                            name = 'd';
+                        }
 
                                                initial[name] = (typeof(value) == 'undefined') ? '' : value.toString();