diff options
author | Ulrich-Matthias Schäfer <ulima.ums@googlemail.com> | 2017-03-24 10:58:19 +0100 |
---|---|---|
committer | Ulrich-Matthias Schäfer <ulima.ums@googlemail.com> | 2017-03-24 10:58:19 +0100 |
commit | a749f7aa6e37e22cc02c5ad29647e1783bb75150 (patch) | |
tree | e941aa06f9d1cf0f5c98fc1567ab008ca56ed6e6 /src/patharray.js | |
parent | 459a56e40e5f6d3ce08d3783c1d75be1963475e1 (diff) | |
download | svg.js-a749f7aa6e37e22cc02c5ad29647e1783bb75150.tar.gz svg.js-a749f7aa6e37e22cc02c5ad29647e1783bb75150.zip |
fixed `SVG.PathArray.parse` that did not correctly parsed flat arrays
Diffstat (limited to 'src/patharray.js')
-rw-r--r-- | src/patharray.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/patharray.js b/src/patharray.js index 385342f..4d050e9 100644 --- a/src/patharray.js +++ b/src/patharray.js @@ -180,7 +180,7 @@ SVG.extend(SVG.PathArray, { }else{ array = array.reduce(function(prev, curr){ - return [].concat.apply(prev, curr) + return [].concat.call(prev, curr) }, []) } |