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

index ba08574..fc652da 100644 (file)
                                                        return initial;
                                                },
                                                {
-                                style: 'text-anchor: ' + (style.font.anchor ? style.font.anchor  +';' : 'middle;') + 
+                                style: 'text-anchor: ' + (style.font.anchor ? (style.font.anchor  +';' ): 'middle;') + 
                                     styleToString(style) + ';' }
                                                ),
                                        node.matrix,