plugins/raphael.export.js
authorAlan Knowles <alan@roojs.com>
Wed, 10 Oct 2012 05:57:15 +0000 (13:57 +0800)
committerAlan Knowles <alan@roojs.com>
Wed, 10 Oct 2012 05:57:15 +0000 (13:57 +0800)
plugins/raphael.export.js

index 573bede..0f23a43 100644 (file)
                                                name = '';
                                                break;
                     
-                    
+                    case 'stroke':
+                    case 'fill':
+                        val = Raphael.getRGB(val).hex;
+                        break;
                                }
 
                                if ( name ) {