Various improvements to apidoc output
MODIFY
jsdoc.conf.json
jsdoc.conf.json
{
"opts": {
"template": "node_modules/jaguarjs-jsdoc"
+ },
+ "plugins": [
+ "node_modules/jsdoc-autoprivate/autoprivate.js",
+ "plugins/markdown"
+ ],
+ "templates": {
+ "applicationName": "GeoJS",
+ "linenums": true,
+ "cleverLinks": true,
+ "default": {
+ "outputSourceFiles": true
+ }
}
}

MODIFY
package.json
package.json
"jasmine-core": "^2.4.1",
"jquery": "~2.2.1",
"jsdoc": "^3.4",
+ "jsdoc-autoprivate": "0.0.1",
"json-loader": "^0.5.4",
"karma": "^0.13.22",
"karma-coverage": "^1.0.0",

MODIFY
src/camera.js
src/camera.js
* * viewFromCenterSizeRotation: set the camera view based on a center
* point, boundary size, and rotation angle.
*
- * @class geo.camera
+ * @class
+ * @alias geo.camera
* @extends geo.object
* @param {object?} spec Options argument
* @param {string} spec.projection One of the supported geo.camera.projection

MODIFY
src/event.js
src/event.js
* <br>
* The following properties are common to all event objects:
*
- * @namespace geo.event
+ * @namespace
+ * @alias geo.event
* @property {string} type The event type that was triggered
* @property {object} geo A universal event object for controlling propagation
*

MODIFY
src/map.js
src/map.js
@@ -13,7 +13,8 @@ var sceneObject = require('./sceneObject');
* (center.x, center.y) + o <-- center of viewport
* (-c, -c) + o (c, -c) + o
*
- * @class geo.map
+ * @class
+ * @alias geo.map
* @extends geo.sceneObject
*
* *** Always required ***
@@ -1504,7 +1505,8 @@ var map = function (arg) {
////////////////////////////////////////////////////////////////////////////
/**
* Get the layers contained in the map.
- * Alias of {@linkcode geo.sceneObject.children}.
+ * Alias of {@linkcode geo.sceneObject#children}.
+ * @method
*/
////////////////////////////////////////////////////////////////////////////
this.layers = this.children;

MODIFY
src/util/throttle.js
src/util/throttle.js
* In this visualization, | is a throttled-function call and X is the actual
* callback execution:
*
- * ::
+ * ```
* Throttled with `no_trailing` specified as false or unspecified:
* ||||||||||||||||||||||||| (pause) |||||||||||||||||||||||||
* X X X X X X X X X X X X
* Throttled with `no_trailing` specified as true:
* ||||||||||||||||||||||||| (pause) |||||||||||||||||||||||||
* X X X X X X X X X X
+ * ```
*
* @alias geo.util.throttle
* @param {number} delay A zero-or-greater delay in milliseconds. For event

Various improvements to apidoc output