Manual class transform

This commit is contained in:
Tim Schaub
2018-07-16 17:09:50 -06:00
parent 7b4a73f3b9
commit f78d0d4cfa
96 changed files with 8112 additions and 7964 deletions

View File

@@ -56,17 +56,21 @@ const ExtentEventType = {
* @param {module:ol/extent~Extent} extent the new extent
* @extends {module:ol/events/Event}
*/
const ExtentInteractionEvent = function(extent) {
Event.call(this, ExtentEventType.EXTENTCHANGED);
class ExtentInteractionEvent {
/**
* The current extent.
* @type {module:ol/extent~Extent}
* @api
*/
this.extent = extent;
constructor(extent) {
Event.call(this, ExtentEventType.EXTENTCHANGED);
/**
* The current extent.
* @type {module:ol/extent~Extent}
* @api
*/
this.extent = extent;
}
}
};
inherits(ExtentInteractionEvent, Event);