Remove remaining use of inherits in src
This commit is contained in:
@@ -15,16 +15,16 @@ import {DEFAULT_LINEDASH, DEFAULT_LINEDASHOFFSET, DEFAULT_STROKESTYLE,
|
||||
import {FLOAT} from '../../webgl.js';
|
||||
import WebGLBuffer from '../../webgl/Buffer.js';
|
||||
|
||||
/**
|
||||
* @constructor
|
||||
* @extends {module:ol/render/webgl/Replay}
|
||||
* @param {number} tolerance Tolerance.
|
||||
* @param {module:ol/extent~Extent} maxExtent Max extent.
|
||||
* @struct
|
||||
*/
|
||||
class WebGLCircleReplay {
|
||||
class WebGLCircleReplay 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
|
||||
@@ -404,7 +404,5 @@ class WebGLCircleReplay {
|
||||
}
|
||||
}
|
||||
|
||||
inherits(WebGLCircleReplay, WebGLReplay);
|
||||
|
||||
|
||||
export default WebGLCircleReplay;
|
||||
|
||||
Reference in New Issue
Block a user