Skip to content

Commit

Permalink
Updating comment
Browse files Browse the repository at this point in the history
  • Loading branch information
mattgperry committed Dec 12, 2022
1 parent 8f02c6d commit 500d75a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/framer-motion/src/animation/waapi/supports.ts
Expand Up @@ -8,6 +8,9 @@ const results = {}

export const supports = {} as FeatureTests

/**
* Generate features tests that cache their results.
*/
for (const key in featureTests) {
supports[key] = () => {
if (results[key] === undefined) results[key] = featureTests[key]()
Expand Down

0 comments on commit 500d75a

Please sign in to comment.