Remove remaining use of inherits in src
This commit is contained in:
@@ -24,7 +24,7 @@ import ContextEventType from '../webgl/ContextEventType.js';
|
||||
*
|
||||
* @extends {module:ol/Disposable}
|
||||
*/
|
||||
class WebGLContext {
|
||||
class WebGLContext extends Disposable {
|
||||
|
||||
/**
|
||||
* @param {HTMLCanvasElement} canvas Canvas.
|
||||
@@ -305,8 +305,6 @@ class WebGLContext {
|
||||
}
|
||||
}
|
||||
|
||||
inherits(WebGLContext, Disposable);
|
||||
|
||||
|
||||
/**
|
||||
* @param {WebGLRenderingContext} gl WebGL rendering context.
|
||||
|
||||
Reference in New Issue
Block a user