projects
/
g.raphael
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c7319c9
)
Uncommited changes synced
author
Alan Knowles
<alan@roojs.com>
Fri, 8 Feb 2019 04:35:49 +0000
(12:35 +0800)
committer
Alan Knowles
<alan@roojs.com>
Fri, 8 Feb 2019 04:35:49 +0000
(12:35 +0800)
seed/toSVG.js
patch
|
blob
|
history
diff --git
a/seed/toSVG.js
b/seed/toSVG.js
index
facc7c5
..
9d710a3
100644
(file)
--- a/
seed/toSVG.js
+++ b/
seed/toSVG.js
@@
-159,7
+159,7
@@
var serializer = {
var textArray = node.attrs['text'].split('\n');
- textArray.forEach(
(v,k) =>
{
+ textArray.forEach(
function(v,k)
{
content.push(tag('tspan',
{
x: node.attrs.x,