Skip to content

Commit

Permalink
build
Browse files Browse the repository at this point in the history
  • Loading branch information
TodePond committed Sep 1, 2022
1 parent 9ef7eab commit 1095999
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build/habitat-embed.js
Original file line number Diff line number Diff line change
Expand Up @@ -1375,7 +1375,7 @@ Habitat.install = (global) => {
if (t <= 0) return 0
if (t >= 1) return 1
const f = (t) => Math.exp(-1/t)
return f(t)/(f(t) - f(1-t))
return f(t)/(f(t) + f(1-t))
}

Habitat.Tween.install = (global) => {
Expand Down
2 changes: 1 addition & 1 deletion build/habitat-import.js
Original file line number Diff line number Diff line change
Expand Up @@ -1375,7 +1375,7 @@ Habitat.install = (global) => {
if (t <= 0) return 0
if (t >= 1) return 1
const f = (t) => Math.exp(-1/t)
return f(t)/(f(t) - f(1-t))
return f(t)/(f(t) + f(1-t))
}

Habitat.Tween.install = (global) => {
Expand Down

0 comments on commit 1095999

Please sign in to comment.