From a74a23fd75bd221d62b4d1a58283a6212a2bc802 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Fri, 30 Aug 2013 11:57:43 +0800 Subject: [PATCH] plugins/raphael.export.js --- plugins/raphael.export.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/raphael.export.js b/plugins/raphael.export.js index 0f23a43..3ce48a6 100644 --- a/plugins/raphael.export.js +++ b/plugins/raphael.export.js @@ -189,7 +189,7 @@ function(initial, value, name) { if ( name === 'path' ) name = 'd'; - initial[name] = value.toString(); + initial[name] = typeof(value) == 'undefined' ? '' : value.toString(); return initial; }, -- 2.39.2