From a6df6c53f1ac23ed54d7d3f3ec22caa00238f4bd Mon Sep 17 00:00:00 2001 From: ericrius1 Date: Fri, 2 Oct 2015 09:55:41 -0700 Subject: [PATCH] fixed more syntax errors --- examples/toys/cat.js | 2 +- examples/toys/doll/doll.js | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/examples/toys/cat.js b/examples/toys/cat.js index 64736e9978..103752bb1b 100644 --- a/examples/toys/cat.js +++ b/examples/toys/cat.js @@ -36,7 +36,7 @@ }); Script.setTimeout(function() { _this.isMeowing = false; - }, this.soundClipTime) + }, this.soundClipTime); }, preload: function(entityID) { diff --git a/examples/toys/doll/doll.js b/examples/toys/doll/doll.js index 453e64f4ef..19a7dacda9 100644 --- a/examples/toys/doll/doll.js +++ b/examples/toys/doll/doll.js @@ -34,8 +34,6 @@ }, startNearGrab: function() { - // if (this.isGrabbed === false) { - print("START GRAB") Entities.editEntity(this.entityID, { animationURL: "https://hifi-public.s3.amazonaws.com/models/Bboys/zombie_scream.fbx", animationFrameIndex: 0 @@ -67,7 +65,6 @@ if (this.isGrabbed === true && this.hand === this.initialHand) { this.audioInjector.stop(); Entities.editEntity(this.entityID, { - // animationSettings: this.stopAnimationSetting, animationFrameIndex: 0 });