From: Alan Knowles Date: Wed, 22 Oct 2014 04:24:43 +0000 (+0800) Subject: plugins/raphael.export.js X-Git-Url: http://git.roojs.org/?p=raphael;a=commitdiff_plain;h=265ff3ab60fc67f052f7447edc3e56f0a72e5bad plugins/raphael.export.js --- diff --git a/plugins/raphael.export.js b/plugins/raphael.export.js index 48d8f36..24e14cc 100644 --- a/plugins/raphael.export.js +++ b/plugins/raphael.export.js @@ -188,7 +188,9 @@ reduce( node.attrs, function(initial, value, name) { - if ( name === 'path' ) name = 'd'; + if ( name === 'path' ) { + name = 'd'; + } initial[name] = (typeof(value) == 'undefined') ? '' : value.toString();