Fixes linting error in pinchGesture.js