diff options
Diffstat (limited to 'src/modules/optional/transform.js')
-rw-r--r-- | src/modules/optional/transform.js | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/modules/optional/transform.js b/src/modules/optional/transform.js index b8f4c74..0d0c7e3 100644 --- a/src/modules/optional/transform.js +++ b/src/modules/optional/transform.js @@ -15,9 +15,11 @@ export function matrixify () { .split(transforms).slice(0, -1).map(function (str) { // generate key => value pairs var kv = str.trim().split('(') - return [kv[0], + return [ kv[0], kv[1].split(delimiter) - .map(function (str) { return parseFloat(str) }) + .map(function (str) { + return parseFloat(str) + }) ] }) .reverse() |