From cd75b302841a25b9480cc830c893bd28baf6d738 Mon Sep 17 00:00:00 2001 From: Christian Engen Date: Thu, 15 Aug 2019 14:40:04 +0200 Subject: [PATCH] Docs: unused variable removed The `const ctx` declaration in `loop` shadows the `let ctx` declaration in the outer scope. This change removes the outer declaration. --- site/content/examples/05-bindings/10-bind-this/App.svelte | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/site/content/examples/05-bindings/10-bind-this/App.svelte b/site/content/examples/05-bindings/10-bind-this/App.svelte index eacd203629..b64b6c0cc3 100644 --- a/site/content/examples/05-bindings/10-bind-this/App.svelte +++ b/site/content/examples/05-bindings/10-bind-this/App.svelte @@ -2,7 +2,6 @@ import { onMount } from 'svelte'; let canvas; - let ctx; let running = false; const r = Math.random(); @@ -56,4 +55,4 @@ bind:this={canvas} width={32} height={32} -> \ No newline at end of file +>