From ca6c413221d06d489920adfae48fa4bc2a368c53 Mon Sep 17 00:00:00 2001 From: Brad Hefta-Gaub Date: Tue, 8 Sep 2015 16:02:10 -0700 Subject: [PATCH] tweak THE_SONG --- examples/entityScripts/boombox.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/examples/entityScripts/boombox.js b/examples/entityScripts/boombox.js index 7056250997..d1d18ec615 100644 --- a/examples/entityScripts/boombox.js +++ b/examples/entityScripts/boombox.js @@ -17,6 +17,7 @@ var _this; var BOOMBOX_USER_DATA_KEY = "boombox"; + var THE_SONG = "http://hifi-public.s3.amazonaws.com/ryan/freaks7.wav"; // this is the "constructor" for the entity as a JS object we don't do much here, but we do want to remember // our this object, so we can access it in cases where we're called without a this (like in the case of various global signals) @@ -109,7 +110,7 @@ print("preload!"); this.entityID = entityID; Script.update.connect(this.update); - this.song = SoundCache.getSound("http://hifi-public.s3.amazonaws.com/ryan/freaks7.wav"); + this.song = SoundCache.getSound(THE_SONG); }, // unload() will be called when our entity is no longer available. It may be because we were deleted,