From 64cee40038da82de5f84680d95e8648e5ff0dc7d Mon Sep 17 00:00:00 2001 From: kerryliu Date: Fri, 21 Feb 2014 17:16:14 -0800 Subject: [PATCH] split up rgba for illustrator import support --- canvas2svg.js | 16 ++++++++++++---- jasmine-tests/spec/canvas2svgspec.js | 22 ++++++++++++++++++++++ 2 files changed, 34 insertions(+), 4 deletions(-) diff --git a/canvas2svg.js b/canvas2svg.js index 6ea32a4..1c48329 100644 --- a/canvas2svg.js +++ b/canvas2svg.js @@ -1,5 +1,5 @@ /*! - * Canvas 2 Svg v1.0.1 + * Canvas 2 Svg v1.0.2 * A low level canvas to SVG converter. Uses a mock canvas context to build an SVG document. * * Licensed under the MIT license: @@ -311,7 +311,7 @@ * @private */ ctx.prototype.__applyStyleToCurrentElement = function(type) { - var keys = Object.keys(STYLES), i, style, value, id; + var keys = Object.keys(STYLES), i, style, value, id, regex, matches; for(i=0; i