From 5952ae160e48a9a04e5d943d0957368ba2b1dada Mon Sep 17 00:00:00 2001 From: Hunter Stevens Date: Fri, 24 Feb 2017 11:38:07 -0500 Subject: [PATCH] Fixed typo for paintToCanvas --- 19 - Webcam Fun/scripts-FINISHED.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/19 - Webcam Fun/scripts-FINISHED.js b/19 - Webcam Fun/scripts-FINISHED.js index 0d62c8d..5847de6 100755 --- a/19 - Webcam Fun/scripts-FINISHED.js +++ b/19 - Webcam Fun/scripts-FINISHED.js @@ -16,7 +16,7 @@ function getVideo() { }); } -function paintToCanavas() { +function paintToCanvas() { const width = video.videoWidth; const height = video.videoHeight; canvas.width = width; @@ -99,4 +99,4 @@ function greenScreen(pixels) { getVideo(); -video.addEventListener('canplay', paintToCanavas); +video.addEventListener('canplay', paintToCanvas); -- knotmirror 0.0.1