Use extends and super for format/OWS

This commit is contained in:
ahocevar
2018-07-17 17:04:02 +02:00
parent 5e71e6ce80
commit 092441017d

View File

@@ -1,7 +1,6 @@
/**
* @module ol/format/OWS
*/
import {inherits} from '../util.js';
import {readHref} from '../format/XLink.js';
import XML from '../format/XML.js';
import {readString} from '../format/xsd.js';
@@ -27,12 +26,9 @@ const PARSERS = makeStructureNS(
});
/**
* @extends {module:ol/format/XML}
*/
class OWS {
class OWS extends XML {
constructor() {
XML.call(this);
super();
}
/**
@@ -57,8 +53,6 @@ class OWS {
}
}
inherits(OWS, XML);
/**
* @const