eslint fix

This commit is contained in:
Anthony J. Thibault 2016-08-19 15:31:57 -07:00
parent 8bb6bb7c6f
commit ff4c194756

View file

@ -1409,12 +1409,11 @@ function MyController(hand) {
}
}
var pointerEvent;
if (rayPickInfo.entityID && Entities.wantsHandControllerPointerEvents(rayPickInfo.entityID)) {
entity = rayPickInfo.entityID;
name = entityPropertiesCache.getProps(entity).name;
var pointerEvent;
if (Entities.keyboardFocusEntity != entity) {
Entities.keyboardFocusEntity = entity;
@ -1464,7 +1463,7 @@ function MyController(hand) {
return;
}
} else if (this.hoverEntity) {
var pinterEvent = {
pointerEvent = {
type: "Move",
id: this.hand + 1
};