From 065cbe973347362d2ada65997ecfa8f6b9e9f64f Mon Sep 17 00:00:00 2001 From: Codrin Eugeniu Date: Mon, 12 Nov 2012 18:22:37 +0200 Subject: [PATCH] 'sounds' was declared as a global var --- interactioncam.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/interactioncam.js b/interactioncam.js index c258769..f31aab5 100755 --- a/interactioncam.js +++ b/interactioncam.js @@ -18,7 +18,7 @@ width = 600, height = 450, state = 'intro', - sounds = {shutter: audio[0],rip: audio[1], takeoff: audio[2]}; + sounds = {shutter: audio[0],rip: audio[1], takeoff: audio[2]}, img = new Image(); img.src = 'mozfest.png'; setstate(state);