plugins/raphael.export.js
[raphael] / plugins / raphael.export.js
index 3ce48a6..fd7b8e2 100644 (file)
                                        function(initial, value, name) {
                                                if ( name === 'path' ) name = 'd';
 
-                                               initial[name] = typeof(value) == 'undefined' ? '' : value.toString();
+                                               initial[name] = (typeof(value) == 'undefined') ? '' : value.toString();
 
                                                return initial;
                                        },