diff options
Diffstat (limited to 'src/transform.js')
-rw-r--r-- | src/transform.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/transform.js b/src/transform.js index 907bbfa..ff3364e 100644 --- a/src/transform.js +++ b/src/transform.js @@ -1,7 +1,7 @@ -import {arrayToMatrix, getOrigin, isMatrixLike} from './helpers.js' +import { arrayToMatrix, getOrigin, isMatrixLike } from './helpers.js' import Matrix from './Matrix.js' -import {delimiter, transforms} from './regex.js' -import {registerMethods} from './methods.js' +import { delimiter, transforms } from './regex.js' +import { registerMethods } from './methods.js' // Reset all transformations export function untransform () { @@ -58,7 +58,7 @@ export function transform (o, relative) { if (!isMatrixLike(o)) { // Set the origin according to the defined transform - o = {...o, origin: getOrigin(o, this)} + o = { ...o, origin: getOrigin(o, this) } } // The user can pass a boolean, an Element or an Matrix or nothing |