fix indentation

This commit is contained in:
James Pollack 2015-09-24 15:26:19 -07:00
parent 83a8636a36
commit 49d3b7e93b

View file

@ -56,7 +56,6 @@
this.isGrabbed = true; this.isGrabbed = true;
this.initialHand = this.hand; this.initialHand = this.hand;
} }
}, },
@ -69,16 +68,16 @@
}, },
releaseGrab: function() { releaseGrab: function() {
if (this.isGrabbed === true && this.hand === this.initialHand) { if (this.isGrabbed === true && this.hand === this.initialHand) {
this.audioInjector.stop(); this.audioInjector.stop();
Entities.editEntity(this.entityID, { Entities.editEntity(this.entityID, {
animationSettings: this.stopAnimationSetting, animationSettings: this.stopAnimationSetting,
animationURL: "http://hifi-public.s3.amazonaws.com/models/Bboys/bboy2/bboy2.fbx", animationURL: "http://hifi-public.s3.amazonaws.com/models/Bboys/bboy2/bboy2.fbx",
}); });
this.isGrabbed = false; this.isGrabbed = false;
} }
}, },
preload: function(entityID) { preload: function(entityID) {