Remove unused inherits
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
/**
|
||||
* @module ol/layer/Base
|
||||
*/
|
||||
import {inherits} from '../util.js';
|
||||
import BaseObject from '../Object.js';
|
||||
import LayerProperty from '../layer/Property.js';
|
||||
import {clamp} from '../math.js';
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/**
|
||||
* @module ol/layer/Group
|
||||
*/
|
||||
import {getUid, inherits} from '../util.js';
|
||||
import {getUid} from '../util.js';
|
||||
import Collection from '../Collection.js';
|
||||
import CollectionEventType from '../CollectionEventType.js';
|
||||
import {getChangeEventType} from '../Object.js';
|
||||
@@ -105,7 +105,7 @@ class LayerGroup extends BaseLayer {
|
||||
* @param {module:ol/events/Event} event Event.
|
||||
* @private
|
||||
*/
|
||||
handleLayersChanged_(event) {
|
||||
handleLayersChanged_() {
|
||||
this.layersListenerKeys_.forEach(unlistenByKey);
|
||||
this.layersListenerKeys_.length = 0;
|
||||
|
||||
|
||||
@@ -2,7 +2,6 @@
|
||||
* @module ol/layer/Heatmap
|
||||
*/
|
||||
import {listen} from '../events.js';
|
||||
import {inherits} from '../util.js';
|
||||
import {getChangeEventType} from '../Object.js';
|
||||
import {createCanvasContext2D} from '../dom.js';
|
||||
import VectorLayer from '../layer/Vector.js';
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
/**
|
||||
* @module ol/layer/Image
|
||||
*/
|
||||
import {inherits} from '../util.js';
|
||||
import LayerType from '../LayerType.js';
|
||||
import Layer from '../layer/Layer.js';
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
*/
|
||||
import {listen, unlistenByKey} from '../events.js';
|
||||
import EventType from '../events/EventType.js';
|
||||
import {getUid, inherits} from '../util.js';
|
||||
import {getUid} from '../util.js';
|
||||
import {getChangeEventType} from '../Object.js';
|
||||
import BaseLayer from '../layer/Base.js';
|
||||
import LayerProperty from '../layer/Property.js';
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
/**
|
||||
* @module ol/layer/Tile
|
||||
*/
|
||||
import {inherits} from '../util.js';
|
||||
import LayerType from '../LayerType.js';
|
||||
import Layer from '../layer/Layer.js';
|
||||
import TileProperty from '../layer/TileProperty.js';
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
/**
|
||||
* @module ol/layer/Vector
|
||||
*/
|
||||
import {inherits} from '../util.js';
|
||||
import LayerType from '../LayerType.js';
|
||||
import Layer from '../layer/Layer.js';
|
||||
import VectorRenderType from '../layer/VectorRenderType.js';
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
/**
|
||||
* @module ol/layer/VectorTile
|
||||
*/
|
||||
import {inherits} from '../util.js';
|
||||
import LayerType from '../LayerType.js';
|
||||
import {assert} from '../asserts.js';
|
||||
import TileProperty from '../layer/TileProperty.js';
|
||||
|
||||
Reference in New Issue
Block a user