projects
/
raphael
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
60d1163
)
plugins/raphael.export.js
author
Alan Knowles
<alan@roojs.com>
Wed, 22 Oct 2014 04:24:43 +0000
(12:24 +0800)
committer
Alan Knowles
<alan@roojs.com>
Wed, 22 Oct 2014 04:24:43 +0000
(12:24 +0800)
plugins/raphael.export.js
patch
|
blob
|
history
diff --git
a/plugins/raphael.export.js
b/plugins/raphael.export.js
index
48d8f36
..
24e14cc
100644
(file)
--- 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();