From 3df78489911cbfb3bceca1d3ef1896713cb48c32 Mon Sep 17 00:00:00 2001 From: ydah <13041216+ydah@users.noreply.github.com> Date: Tue, 6 Feb 2024 15:29:13 +0900 Subject: [PATCH] Synchonously ==> Synchronously --- packages/shuffle/src/shuffle.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/shuffle/src/shuffle.js b/packages/shuffle/src/shuffle.js index c48d0f2..656e71d 100644 --- a/packages/shuffle/src/shuffle.js +++ b/packages/shuffle/src/shuffle.js @@ -300,7 +300,7 @@ class Shuffle extends TinyEmitter { const { speed, easing } = this.options; const positionProps = this.options.useTransforms ? ['transform'] : ['top', 'left']; - // Allow users to transtion other properties if they exist in the `before` + // Allow users to transition other properties if they exist in the `before` // css mapping of the shuffle item. const cssProps = Object.keys(ShuffleItem.Css.HIDDEN.before).map((k) => hyphenate(k)); const properties = positionProps.concat(cssProps).join(); @@ -876,7 +876,7 @@ class Shuffle extends TinyEmitter { }; // Layout all items again so that new items get positions. - // Synchonously apply positions. + // Synchronously apply positions. const itemPositions = this._getNextPositions(allSortedItemsSet.visible); allSortedItemsSet.visible.forEach((item, i) => { if (isNewItem(item)) {