More minor jsdoc improvements.
Before, this generated a apidocs/global.html file that wasn't correct.
MODIFY
src/action.js
src/action.js
/**
* Common object containing all action types that are provided by the GeoJS
* API.
+ *
+ * @namespace
+ * @alias geo.action
*/
var geo_action = {
momentum: 'geo_action_momentum',

MODIFY
src/index.js
src/index.js
-/** @namespace geo */
// License headers that will be preserved in distributed bundles.
/**
* GeoJS
* @copyright 2013-2018, Kitware, Inc.
* @license Apache-2.0
- *
+ * @namespace geo
+ */
+/*
* Bundled with the following libraries:
*
* vgl

MODIFY
src/transform.js
src/transform.js
@@ -7,6 +7,13 @@ projections.keys().forEach(function (key) {
});
var util = require('./util');
+var transformCache = {};
+/* Up to maxTransformCacheSize squared might be cached. When the maximum cache
+ * size is reached, the cache is completely emptied. Since we probably won't
+ * be rapidly switching between a large number of transforms, this is adequate
+ * simple behavior. */
+var maxTransformCacheSize = 10;
+
/**
* This purpose of this class is to provide a generic interface for computing
* coordinate transformationss. The interface is taken from the proj4js,
@@ -29,14 +36,6 @@ var util = require('./util');
* @param {string} options.target A proj4 string for the target projection
* @returns {geo.transform}
*/
-
-var transformCache = {};
-/* Up to maxTransformCacheSize squared might be cached. When the maximum cache
- * size is reached, the cache is completely emptied. Since we probably won't
- * be rapidly switching between a large number of transforms, this is adequate
- * simple behavior. */
-var maxTransformCacheSize = 10;
-
var transform = function (options) {
'use strict';
if (!(this instanceof transform)) {

MODIFY
src/ui/colorLegendWidget.js
src/ui/colorLegendWidget.js
@@ -425,6 +425,8 @@ var colorLegendWidget = function (arg) {
/**
* Get the number of decimals of a number.
+ *
+ * @private
* @param {number} number the number input
* @returns {number} the number of decimal
*/

MODIFY
src/util/clustering.js
src/util/clustering.js
-/**
+/*
* Using methods adapted from leaflet to cluster an array of positions
* hierarchically given an array of length scales (zoom levels).
*/
@@ -15,7 +15,7 @@ var vgl = require('vgl');
* cluster containing child clusters and unclustered points.
*
* @class
- * @private
+ * @alias geo.util.ClusterTree
*
* @param {geo.util.ClusterGroup} group The source cluster group
* @param {number} zoom The zoom level of the current node
@@ -268,7 +268,7 @@ C.prototype.points = function (zoom) {
/**
* Return the clusters contained at a given zoom level.
* @param {number} zoom The zoom level.
- * @returns {ClusterTree[]} The array of clusters.
+ * @returns {geo.util.ClusterTree[]} The array of clusters.
*/
C.prototype.clusters = function (zoom) {
zoom = Math.min(Math.max(Math.floor(zoom), 0), this._opts.maxZoom - 1);

MODIFY
src/util/distanceGrid.js
src/util/distanceGrid.js
@@ -49,7 +49,7 @@ TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF TH
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-/**
+/*
* Code taken from https://github.com/Leaflet/Leaflet.markercluster
* to support faster hierarchical clustering of features.
* @copyright 2012, David Leaver

MODIFY
src/util/throttle.js
src/util/throttle.js
@@ -170,6 +170,7 @@ var throttle = function (delay, no_trailing, callback, accumulator, debounce_mod
*
* The bulk of the work is handled by the {@link geo.util.throttle} function.
*
+ * @method geo.util.debounce
* @param {number} delay A zero-or-greater delay in milliseconds. For event
* callbacks, values around 100 or 250 (or even higher) are most useful.
* @param {boolean} [at_begin=false] If at_begin is false or

MODIFY
src/vendor.js
src/vendor.js
// License headers that will be preserved in distributed bundles.
-/**
+/*
* d3
* @copyright 2010-2016, Michael Bostock
* @license BSD-3-Clause

More minor jsdoc improvements.

Before, this generated a apidocs/global.html file that wasn't correct.