0
0
mirror of https://github.com/sveltejs/svelte.git synced 2024-11-29 00:22:05 +01:00

fix typos, bump alpha version

This commit is contained in:
Rich Harris 2018-12-23 17:29:16 -05:00
parent 2be9f7d43f
commit 027bfe1da6
2 changed files with 9 additions and 7 deletions

View File

@ -131,30 +131,30 @@ export function quadOut(t) {
return -t * (t - 2.0);
}
export function quarticInOut(t) {
export function quartInOut(t) {
return t < 0.5
? +8.0 * Math.pow(t, 4.0)
: -8.0 * Math.pow(t - 1.0, 4.0) + 1.0;
}
export function quarticIn(t) {
export function quartIn(t) {
return Math.pow(t, 4.0);
}
export function quarticOut(t) {
export function quartOut(t) {
return Math.pow(t - 1.0, 3.0) * (1.0 - t) + 1.0;
}
export function qinticInOut(t) {
export function quintInOut(t) {
if ((t *= 2) < 1) return 0.5 * t * t * t * t * t;
return 0.5 * ((t -= 2) * t * t * t * t + 2);
}
export function qinticIn(t) {
export function quintIn(t) {
return t * t * t * t * t;
}
export function qinticOut(t) {
export function quintOut(t) {
return --t * t * t * t * t + 1;
}

View File

@ -1,6 +1,6 @@
{
"name": "svelte",
"version": "3.0.0-alpha10",
"version": "3.0.0-alpha12",
"description": "The magical disappearing UI framework",
"module": "index.mjs",
"main": "index.js",
@ -14,6 +14,8 @@
"index.*",
"internal.*",
"store.*",
"transition.*",
"easing.*",
"svelte",
"README.md"
],