diff --git a/content/tutorial/02-advanced-svelte/02-transitions/04-custom-css-transitions/README.md b/content/tutorial/02-advanced-svelte/02-transitions/04-custom-css-transitions/README.md index 30dc666bf..e10576f8c 100644 --- a/content/tutorial/02-advanced-svelte/02-transitions/04-custom-css-transitions/README.md +++ b/content/tutorial/02-advanced-svelte/02-transitions/04-custom-css-transitions/README.md @@ -53,7 +53,7 @@ We can get a lot more creative though. Let's make something truly gratuitous: function spin(node, { duration }) { return { duration, - css: t => +++{ + css: (t) => +++{ const eased = elasticOut(t); return ` @@ -62,7 +62,7 @@ We can get a lot more creative though. Let's make something truly gratuitous: ${Math.trunc(t * 360)}, ${Math.min(100, 1000 * (1 - t))}%, ${Math.min(50, 500 * (1 - t))}% - );` + );`; }+++ }; }