Remove externs/oli.js

This commit is contained in:
Tim Schaub
2018-05-08 08:38:34 -06:00
parent 750ba4bca4
commit 167bc1ec78
26 changed files with 4 additions and 515 deletions

View File

@@ -9,7 +9,6 @@ import {VERSION, inherits} from './index.js';
* @see {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Error}
* @constructor
* @extends {Error}
* @implements {oli.AssertionError}
* @param {number} code Error code.
*/
const AssertionError = function(code) {

View File

@@ -24,7 +24,6 @@ const Property = {
*
* @constructor
* @extends {module:ol/events/Event}
* @implements {oli.CollectionEvent}
* @param {module:ol/CollectionEventType} type Type.
* @param {*=} opt_element Element.
*/

View File

@@ -11,7 +11,6 @@ import MapEvent from './MapEvent.js';
*
* @constructor
* @extends {module:ol/MapEvent}
* @implements {oli.MapBrowserEvent}
* @param {string} type Event type.
* @param {module:ol/PluggableMap} map Map.
* @param {Event} browserEvent Browser event.

View File

@@ -11,7 +11,6 @@ import Event from './events/Event.js';
*
* @constructor
* @extends {module:ol/events/Event}
* @implements {oli.MapEvent}
* @param {string} type Event type.
* @param {module:ol/PluggableMap} map Map.
* @param {?module:ol/PluggableMap~FrameState=} opt_frameState Frame state.

View File

@@ -17,7 +17,6 @@ import {assign} from './obj.js';
* @param {string} key The property name.
* @param {*} oldValue The old value for `key`.
* @extends {module:ol/events/Event}
* @implements {oli.Object.Event}
* @constructor
*/
const ObjectEvent = function(type, key, oldValue) {

View File

@@ -46,7 +46,6 @@ import {listen, unlistenByKey} from '../events.js';
*
* @constructor
* @extends {module:ol/Object}
* @implements {oli.control.Control}
* @param {module:ol/control/Control~Options} options Control options.
* @api
*/

View File

@@ -12,7 +12,6 @@
* {@link module:ol/events/EventTarget~EventTarget}.
*
* @constructor
* @implements {oli.events.Event}
* @param {string} type Type.
*/
const Event = function(type) {

View File

@@ -45,7 +45,6 @@ const DragAndDropEventType = {
*
* @constructor
* @extends {module:ol/events/Event}
* @implements {oli.interaction.DragAndDropEvent}
* @param {module:ol/interaction/DragAndDrop~DragAndDropEventType} type Type.
* @param {File} file File.
* @param {Array.<module:ol/Feature>=} opt_features Features.

View File

@@ -69,7 +69,6 @@ const DragBoxEventType = {
* @param {module:ol/MapBrowserEvent} mapBrowserEvent Originating event.
* @extends {module:ol/events/Event}
* @constructor
* @implements {oli.DragBoxEvent}
*/
const DragBoxEvent = function(type, coordinate, mapBrowserEvent) {
Event.call(this, type);

View File

@@ -131,7 +131,6 @@ const DrawEventType = {
*
* @constructor
* @extends {module:ol/events/Event}
* @implements {oli.DrawEvent}
* @param {module:ol/interaction/Draw~DrawEventType} type Type.
* @param {module:ol/Feature} feature The feature drawn.
*/

View File

@@ -53,7 +53,6 @@ const ExtentEventType = {
* instances of this type.
*
* @constructor
* @implements {oli.ExtentEvent}
* @param {module:ol/extent~Extent} extent the new extent
* @extends {module:ol/events/Event}
*/

View File

@@ -93,7 +93,6 @@ const ModifyEventType = {
*
* @constructor
* @extends {module:ol/events/Event}
* @implements {oli.ModifyEvent}
* @param {ModifyEventType} type Type.
* @param {module:ol/Collection.<module:ol/Feature>} features
* The features modified.

View File

@@ -107,7 +107,6 @@ const SelectEventType = {
* @param {Array.<module:ol/Feature>} deselected Deselected features.
* @param {module:ol/MapBrowserEvent} mapBrowserEvent Associated
* {@link module:ol/MapBrowserEvent}.
* @implements {oli.SelectEvent}
* @extends {module:ol/events/Event}
* @constructor
*/

View File

@@ -59,7 +59,6 @@ const TranslateEventType = {
*
* @constructor
* @extends {module:ol/events/Event}
* @implements {oli.interaction.TranslateEvent}
* @param {module:ol/interaction/Translate~TranslateEventType} type Type.
* @param {module:ol/Collection.<module:ol/Feature>} features The features translated.
* @param {module:ol/coordinate~Coordinate} coordinate The event coordinate.

View File

@@ -7,7 +7,6 @@ import Event from '../events/Event.js';
/**
* @constructor
* @extends {module:ol/events/Event}
* @implements {oli.render.Event}
* @param {module:ol/render/EventType~EventType} type Type.
* @param {module:ol/render/VectorContext=} opt_vectorContext Vector context.
* @param {module:ol/PluggableMap~FrameState=} opt_frameState Frame state.

View File

@@ -48,7 +48,6 @@ const ImageSourceEventType = {
*
* @constructor
* @extends {module:ol/events/Event}
* @implements {oli.source.ImageEvent}
* @param {string} type Type.
* @param {module:ol/Image~Image} image The image.
*/

View File

@@ -77,7 +77,6 @@ const RasterOperationType = {
*
* @constructor
* @extends {module:ol/events/Event}
* @implements {oli.source.RasterEvent}
* @param {string} type Type.
* @param {module:ol/PluggableMap~FrameState} frameState The frame state.
* @param {Object} data An object made available to operations.

View File

@@ -329,7 +329,6 @@ TileSource.prototype.useTile = UNDEFINED;
*
* @constructor
* @extends {module:ol/events/Event}
* @implements {oli.source.Tile.Event}
* @param {string} type Type.
* @param {module:ol/Tile} tile The tile.
*/

View File

@@ -38,7 +38,6 @@ import RBush from '../structs/RBush.js';
*
* @constructor
* @extends {module:ol/events/Event}
* @implements {oli.source.Vector.Event}
* @param {string} type Type.
* @param {module:ol/Feature=} opt_feature Feature.
*/