From 00d2002b6f3c1c096044379987296d9cd1c1748f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrg=20Lehni?= Date: Sat, 16 Jan 2016 15:13:45 +0100 Subject: [PATCH] Follow convention for multi-line if-statements. Relates to #907 --- src/path/PathItem.Boolean.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/path/PathItem.Boolean.js b/src/path/PathItem.Boolean.js index c73a5fe7..3b1b6cb8 100644 --- a/src/path/PathItem.Boolean.js +++ b/src/path/PathItem.Boolean.js @@ -913,8 +913,8 @@ Path.inject(/** @lends Path# */{ y1 = v[3], y2 = v[5], y3 = v[7]; - if (Curve.isStraight(v) || - y0 >= y1 === y1 >= y2 && y1 >= y2 === y2 >= y3) { + if (Curve.isStraight(v) + || y0 >= y1 === y1 >= y2 && y1 >= y2 === y2 >= y3) { // Straight curves and curves with end and control points sorted // in y direction are guaranteed to be monotone in y direction. insertCurve(v);