From d0a739615eb0462da35b1e887adf1fff3d7adbc8 Mon Sep 17 00:00:00 2001 From: Alicia Sykes Date: Thu, 5 Jan 2023 21:05:09 +0000 Subject: [PATCH] [fix] Corrects syntax error in transition docs There was a small typo in the docs ([here](https://svelte.dev/docs#template-syntax-element-directives-animate-fn-custom-animation-functions)), where there's a semi-colon mid-way through the object, causing an error (`Expected "}" but found ";"`). This PR corrects that. --- site/content/docs/03-template-syntax.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/site/content/docs/03-template-syntax.md b/site/content/docs/03-template-syntax.md index e08cc6216f..b25e717f08 100644 --- a/site/content/docs/03-template-syntax.md +++ b/site/content/docs/03-template-syntax.md @@ -1313,7 +1313,7 @@ A custom animation function can also return a `tick` function, which is called * tick: (t, u) => Object.assign(node.style, { color: t > 0.5 ? 'Pink' : 'Blue' - }); + }), }; }