From c80c13eb9e1555d15e9720b2f56d1ebab20591c8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrg=20Lehni?= Date: Wed, 27 Jul 2016 19:41:23 +0200 Subject: [PATCH] Remove _closed parameter from PathItem#isClockwise() again. --- src/path/CompoundPath.js | 2 +- src/path/Path.js | 2 +- src/path/PathItem.js | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/path/CompoundPath.js b/src/path/CompoundPath.js index fa8fcd3a..a369e00e 100644 --- a/src/path/CompoundPath.js +++ b/src/path/CompoundPath.js @@ -31,7 +31,7 @@ var CompoundPath = PathItem.extend(/** @lends CompoundPath# */{ children: [] }, // Enforce creation of beans, as bean getters have hidden parameters. - // See #getPathData() and #getArea below. + // See #getPathData() below. beans: true, /** diff --git a/src/path/Path.js b/src/path/Path.js index efbe9269..78328479 100644 --- a/src/path/Path.js +++ b/src/path/Path.js @@ -296,7 +296,7 @@ var Path = PathItem.extend(/** @lends Path# */{ } }, /** @lends Path# */{ // Enforce creation of beans, as bean getters have hidden parameters. - // See #getPathData() and #getArea below. + // See #getPathData() below. beans: true, getPathData: function(_matrix, _precision) { diff --git a/src/path/PathItem.js b/src/path/PathItem.js index a3f5b2ae..aabfaa1d 100644 --- a/src/path/PathItem.js +++ b/src/path/PathItem.js @@ -104,8 +104,8 @@ var PathItem = Item.extend(/** @lends PathItem# */{ * @see Path#getArea() * @see CompoundPath#getArea() */ - isClockwise: function(_closed) { - return this.getArea(_closed) >= 0; + isClockwise: function() { + return this.getArea() >= 0; }, setClockwise: function(clockwise) {