plugins/raphael.export.js
authorAlan Knowles <alan@roojs.com>
Mon, 23 Jul 2012 07:19:05 +0000 (15:19 +0800)
committerAlan Knowles <alan@roojs.com>
Mon, 23 Jul 2012 07:19:05 +0000 (15:19 +0800)
plugins/raphael.export.js

index 7c638bb..3227180 100644 (file)
                        font: {
                                family: node.attrs.font.replace(/^.*?"(\w+)".*$/, '$1'),
                                size:   typeof node.attrs['font-size'] === 'undefined' ? null : node.attrs['font-size'],
-                anchor : typeof node.attrs['text-anchor'] === 'undefined' ? null : node.attrs['text-anchor''],
+                anchor : typeof node.attrs['text-anchor'] === 'undefined' ? null : node.attrs['text-anchor'],
                                }
                        };
        }