eslint fix

This commit is contained in:
Richard Davey 2018-06-11 14:42:50 +01:00
parent f26bd913e9
commit d058674a39

View file

@ -1401,10 +1401,10 @@ var InputPlugin = new Class({
gameObjects = [ gameObjects ]; gameObjects = [ gameObjects ];
} }
var i;
var draggable = false; var draggable = false;
var dropZone = false; var dropZone = false;
var cursor = false; var cursor = false;
var useHandCursor = false;
// Config object? // Config object?
if (IsPlainObject(shape)) if (IsPlainObject(shape))
@ -1417,8 +1417,9 @@ var InputPlugin = new Class({
dropZone = GetFastValue(config, 'dropZone', false); dropZone = GetFastValue(config, 'dropZone', false);
cursor = GetFastValue(config, 'cursor', false); cursor = GetFastValue(config, 'cursor', false);
useHandCursor = GetFastValue(config, 'useHandCursor', false); useHandCursor = GetFastValue(config, 'useHandCursor', false);
pixelPerfect = GetFastValue(config, 'pixelPerfect', false);
alphaTolerance = GetFastValue(config, 'alphaTolerance', 1); var pixelPerfect = GetFastValue(config, 'pixelPerfect', false);
var alphaTolerance = GetFastValue(config, 'alphaTolerance', 1);
if (pixelPerfect) if (pixelPerfect)
{ {