From 8b33eccd52e6cc5ea46510edd81b5db7bc97b2a2 Mon Sep 17 00:00:00 2001 From: sasensi Date: Mon, 12 Nov 2018 16:38:34 +0100 Subject: [PATCH] Fix beans documentation links Several documentation "see also" links concerning beans were broken because they were referenced as `ClassName#getProperty()` instead of `ClassName#property`. --- src/basic/Point.js | 2 +- src/path/CompoundPath.js | 2 +- src/path/PathItem.js | 4 ++-- src/path/Segment.js | 4 ++-- src/view/View.js | 4 ++-- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/basic/Point.js b/src/basic/Point.js index e9b260dd..86af7b9a 100644 --- a/src/basic/Point.js +++ b/src/basic/Point.js @@ -768,7 +768,7 @@ var Point = Base.extend(/** @lends Point# */{ * * @param {Number} quadrant the quadrant to check against * @return {Boolean} {@true if either x or y are not a number} - * @see #getQuadrant() + * @see #quadrant */ isInQuadrant: function(q) { // Map quadrant to x & y coordinate pairs and multiply with coordinates, diff --git a/src/path/CompoundPath.js b/src/path/CompoundPath.js index 70367261..5982815b 100644 --- a/src/path/CompoundPath.js +++ b/src/path/CompoundPath.js @@ -161,7 +161,7 @@ var CompoundPath = PathItem.extend(/** @lends CompoundPath# */{ * * @bean * @type Boolean - * @see Path#isClosed() + * @see Path#closed */ isClosed: function() { var children = this._children; diff --git a/src/path/PathItem.js b/src/path/PathItem.js index ed9037c1..5f852e0d 100644 --- a/src/path/PathItem.js +++ b/src/path/PathItem.js @@ -102,8 +102,8 @@ var PathItem = Item.extend(/** @lends PathItem# */{ * * @bean * @type Boolean - * @see Path#getArea() - * @see CompoundPath#getArea() + * @see Path#area + * @see CompoundPath#area */ isClockwise: function() { return this.getArea() >= 0; diff --git a/src/path/Segment.js b/src/path/Segment.js index 298065ec..6c516063 100644 --- a/src/path/Segment.js +++ b/src/path/Segment.js @@ -234,8 +234,8 @@ var Segment = Base.extend(/** @lends Segment# */{ * Checks if the segment has any curve handles set. * * @return {Boolean} {@true if the segment has handles set} - * @see Segment#getHandleIn() - * @see Segment#getHandleOut() + * @see Segment#handleIn + * @see Segment#handleOut * @see Curve#hasHandles() * @see Path#hasHandles() */ diff --git a/src/view/View.js b/src/view/View.js index 281670f1..6b681e3e 100644 --- a/src/view/View.js +++ b/src/view/View.js @@ -522,7 +522,7 @@ var View = Base.extend(Emitter, /** @lends View# */{ * * @bean * @type Number - * @see #getScaling() + * @see #scaling */ getZoom: function() { var scaling = this._decompose().scaling; @@ -559,7 +559,7 @@ var View = Base.extend(Emitter, /** @lends View# */{ * * @bean * @type Point - * @see #getZoom() + * @see #zoom */ getScaling: function() { var scaling = this._decompose().scaling;