Skip to content
This repository was archived by the owner on Aug 19, 2022. It is now read-only.

Commit 63009b8

Browse files
author
Brandon Dail
committed
cacheNormalizedFrames -> normalizeFrames
Because its not really caching anways
1 parent d761872 commit 63009b8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/merge.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,12 +41,12 @@ export default function merge(
4141
// We merge each frame into a new object and return it
4242
const merged: Animation = {};
4343

44-
const normalizedPrimary: Animation = cacheNormalizedFrames(
44+
const normalizedPrimary: Animation = normalizeFrames(
4545
primary,
4646
normalizedFrames
4747
);
4848

49-
const normalizedSecondary: Animation = cacheNormalizedFrames(
49+
const normalizedSecondary: Animation = normalizeFrames(
5050
secondary,
5151
normalizedFrames
5252
);
@@ -171,7 +171,7 @@ function getDefined(primary: CSSValue, secondary: CSSValue): CSSValue {
171171
* frames.
172172
* @private
173173
*/
174-
function cacheNormalizedFrames(source: Animation, cache: FrameMap): Animation {
174+
function normalizeFrames(source: Animation, cache: FrameMap): Animation {
175175
const normalized: Animation = {};
176176
for (let frame in source) {
177177
const normalizedFrame = defaultNormalizedFrames[frame] || (Math.round(

0 commit comments

Comments
 (0)