Remove remaining use of inherits in src
This commit is contained in:
@@ -35,16 +35,16 @@ const Instruction = {
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @constructor
|
||||
* @extends {module:ol/render/webgl/Replay}
|
||||
* @param {number} tolerance Tolerance.
|
||||
* @param {module:ol/extent~Extent} maxExtent Max extent.
|
||||
* @struct
|
||||
*/
|
||||
class WebGLLineStringReplay {
|
||||
class WebGLLineStringReplay extends WebGLReplay {
|
||||
/**
|
||||
* @constructor
|
||||
* @extends {module:ol/render/webgl/Replay}
|
||||
* @param {number} tolerance Tolerance.
|
||||
* @param {module:ol/extent~Extent} maxExtent Max extent.
|
||||
* @struct
|
||||
*/
|
||||
constructor(tolerance, maxExtent) {
|
||||
WebGLReplay.call(this, tolerance, maxExtent);
|
||||
super(tolerance, maxExtent);
|
||||
|
||||
/**
|
||||
* @private
|
||||
@@ -666,7 +666,5 @@ class WebGLLineStringReplay {
|
||||
}
|
||||
}
|
||||
|
||||
inherits(WebGLLineStringReplay, WebGLReplay);
|
||||
|
||||
|
||||
export default WebGLLineStringReplay;
|
||||
|
||||
Reference in New Issue
Block a user