Add an example of documenting an event
MODIFY
src/event.js
src/event.js
@@ -84,6 +84,8 @@ geo_event.rotate = 'geo_rotate';
* Triggered when the map is panned either by user interaction or map
* transition.
*
+ * @event geo.event.pan
+ * @type {object}
* @property {object} screenDelta The number of pixels to pan the map by
* @property {object} center The new map center
*/

MODIFY
src/map.js
src/map.js
@@ -419,6 +419,7 @@ var map = function (arg) {
* clampBoundsX options (up to a point, see fix_bounds) when determining
* the new view.
* @returns {geo.map}
+ * @fires geo.event.event:pan
*/
////////////////////////////////////////////////////////////////////////////
this.pan = function (delta, ignoreDiscreteZoom, ignoreClampBounds) {

Add an example of documenting an event