From 603d838477d6e826a1dfd09488234b3b234d34e1 Mon Sep 17 00:00:00 2001 From: Angad Singh Josan <97420031+ajosan25@users.noreply.github.com> Date: Sat, 29 Apr 2023 13:30:52 -0700 Subject: [PATCH] Change sqrt() to Math.sqrt() in easeOutCirc (#173) --- src/easings.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/easings.yml b/src/easings.yml index 2b1a0c2..27713c0 100644 --- a/src/easings.yml +++ b/src/easings.yml @@ -82,7 +82,7 @@ - name: easeOutCirc css: cubic-bezier(0, 0.55, 0.45, 1) maths: |-2 - return sqrt(1 - Math.pow(x - 1, 2)); + return Math.sqrt(1 - Math.pow(x - 1, 2)); - name: easeInOutCirc css: cubic-bezier(0.85, 0, 0.15, 1) maths: |-2