From 2f1e219d64217eb9cd9ad38a2ecc3533d5a0abf6 Mon Sep 17 00:00:00 2001 From: Tom MacWright Date: Mon, 14 Jan 2013 10:18:22 -0500 Subject: [PATCH] jshint tweak --- js/id/util.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/id/util.js b/js/id/util.js index 0ce60c2bd..79b65c524 100644 --- a/js/id/util.js +++ b/js/id/util.js @@ -126,8 +126,8 @@ iD.util.geo.pointInPolygon = function(point, polygon) { var xi = polygon[i][0], yi = polygon[i][1]; var xj = polygon[j][0], yj = polygon[j][1]; - var intersect = ((yi > y) != (yj > y)) - && (x < (xj - xi) * (y - yi) / (yj - yi) + xi); + var intersect = ((yi > y) != (yj > y)) && + (x < (xj - xi) * (y - yi) / (yj - yi) + xi); if (intersect) inside = !inside; }