Remove remaining use of inherits in src

This commit is contained in:
Tim Schaub
2018-07-17 23:43:10 -06:00
parent f6046c023c
commit 1a5cf52b61
63 changed files with 837 additions and 982 deletions

View File

@@ -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;