Merge pull request #2343 from hperrin/patch-1

Remove unused r variable in bind-this tutorial.
pull/2346/head
Rich Harris 6 years ago committed by GitHub
commit e3c0887afc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -2,10 +2,6 @@
import { onMount } from 'svelte';
let canvas;
let ctx;
let running = false;
const r = Math.random();
onMount(() => {
const ctx = canvas.getContext('2d');

@ -2,10 +2,6 @@
import { onMount } from 'svelte';
let canvas;
let ctx;
let running = false;
const r = Math.random();
onMount(() => {
const ctx = canvas.getContext('2d');

Loading…
Cancel
Save