fix typos, bump alpha version

pull/1913/head
Rich Harris 7 years ago
parent 2be9f7d43f
commit 027bfe1da6

@ -131,30 +131,30 @@ export function quadOut(t) {
return -t * (t - 2.0); return -t * (t - 2.0);
} }
export function quarticInOut(t) { export function quartInOut(t) {
return t < 0.5 return t < 0.5
? +8.0 * Math.pow(t, 4.0) ? +8.0 * Math.pow(t, 4.0)
: -8.0 * Math.pow(t - 1.0, 4.0) + 1.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); 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; 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; if ((t *= 2) < 1) return 0.5 * t * t * t * t * t;
return 0.5 * ((t -= 2) * t * t * t * t + 2); return 0.5 * ((t -= 2) * t * t * t * t + 2);
} }
export function qinticIn(t) { export function quintIn(t) {
return t * t * t * t * t; return t * t * t * t * t;
} }
export function qinticOut(t) { export function quintOut(t) {
return --t * t * t * t * t + 1; return --t * t * t * t * t + 1;
} }

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

Loading…
Cancel
Save