From 861f4bdcd15c58c92f1832bbb47d18d4b17cfa22 Mon Sep 17 00:00:00 2001 From: Ryan Lester Date: Thu, 22 Sep 2016 23:01:32 -0400 Subject: [PATCH] Comment fixes --- src/point.js | 4 ++-- src/tile.js | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/point.js b/src/point.js index fa35eb18..72c91378 100644 --- a/src/point.js +++ b/src/point.js @@ -152,8 +152,8 @@ $.Point.prototype = { * Compute the squared distance between this point and another point. * Useful for optimizing things like comparing distances. * @function - * @param {OpenSeadragon.Point} point The point to compute the distance with. - * @returns {Number} The distance between the 2 points + * @param {OpenSeadragon.Point} point The point to compute the squared distance with. + * @returns {Number} The squared distance between the 2 points */ squaredDistanceTo: function( point ) { return Math.pow( this.x - point.x, 2 ) + diff --git a/src/tile.js b/src/tile.js index 350cd62e..72776aac 100644 --- a/src/tile.js +++ b/src/tile.js @@ -156,6 +156,7 @@ $.Tile = function(level, x, y, bounds, exists, url, context2D) { /** * The squared distance of this tile to the viewport center. * Use for comparing tiles. + * @private * @member {Number} squaredDistance * @memberof OpenSeadragon.Tile# */