From ba839fbc0042060fc2550055a06c4590a8715a5e Mon Sep 17 00:00:00 2001 From: casperlamboo Date: Wed, 1 Mar 2017 12:16:56 +0100 Subject: [PATCH] fix getPaths --- src/getPaths.js | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/getPaths.js b/src/getPaths.js index 326d8f5..a24ea60 100644 --- a/src/getPaths.js +++ b/src/getPaths.js @@ -63,7 +63,7 @@ export default function getPaths(pathlist) { return p; } - var w = bm.w, h = bm.h, len = pathlist.length, c, i; + var len = pathlist.length, c, i; var paths = []; for (i = 0; i < len; i++) { @@ -71,9 +71,5 @@ export default function getPaths(pathlist) { paths.push(path(c)); } - return { - width: w, - height: h, - paths: paths - } + return paths; }