From 265ff3ab60fc67f052f7447edc3e56f0a72e5bad Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Wed, 22 Oct 2014 12:24:43 +0800 Subject: [PATCH] plugins/raphael.export.js --- plugins/raphael.export.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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(); -- 2.39.2