Fix strokeDasharray.concat(strokeDasharray)

`strokeDasharray.concat(strokeDasharray)` has created a new array
should assign to strokeDasharray.
Remove devDependencies
This commit is contained in:
magicismight
2017-08-08 11:25:38 +08:00
parent 058183c0de
commit 2ddb0bddc6
2 changed files with 2 additions and 5 deletions
+1 -1
View File
@@ -39,7 +39,7 @@ export default function(props, styleProperties) {
// to yield an even number of values. Thus, 5,3,2 is equivalent to 5,3,2,5,3,2.
strokeDasharray = extractLengthList(strokeDasharray);
if (strokeDasharray && (strokeDasharray.length % 2) === 1) {
strokeDasharray.concat(strokeDasharray);
strokeDasharray = strokeDasharray.concat(strokeDasharray);
}
}