Use named exports from ol/index.js
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
/**
|
||||
* @module ol/geom/Circle
|
||||
*/
|
||||
import _ol_ from '../index.js';
|
||||
import {inherits} from '../index.js';
|
||||
import _ol_extent_ from '../extent.js';
|
||||
import _ol_geom_GeometryLayout_ from '../geom/GeometryLayout.js';
|
||||
import _ol_geom_GeometryType_ from '../geom/GeometryType.js';
|
||||
@@ -25,7 +25,7 @@ var _ol_geom_Circle_ = function(center, opt_radius, opt_layout) {
|
||||
this.setCenterAndRadius(center, radius, opt_layout);
|
||||
};
|
||||
|
||||
_ol_.inherits(_ol_geom_Circle_, _ol_geom_SimpleGeometry_);
|
||||
inherits(_ol_geom_Circle_, _ol_geom_SimpleGeometry_);
|
||||
|
||||
|
||||
/**
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/**
|
||||
* @module ol/geom/Geometry
|
||||
*/
|
||||
import _ol_ from '../index.js';
|
||||
import {inherits} from '../index.js';
|
||||
import _ol_Object_ from '../Object.js';
|
||||
import _ol_extent_ from '../extent.js';
|
||||
import _ol_functions_ from '../functions.js';
|
||||
@@ -66,7 +66,7 @@ var _ol_geom_Geometry_ = function() {
|
||||
|
||||
};
|
||||
|
||||
_ol_.inherits(_ol_geom_Geometry_, _ol_Object_);
|
||||
inherits(_ol_geom_Geometry_, _ol_Object_);
|
||||
|
||||
|
||||
/**
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/**
|
||||
* @module ol/geom/GeometryCollection
|
||||
*/
|
||||
import _ol_ from '../index.js';
|
||||
import {inherits} from '../index.js';
|
||||
import _ol_events_ from '../events.js';
|
||||
import _ol_events_EventType_ from '../events/EventType.js';
|
||||
import _ol_extent_ from '../extent.js';
|
||||
@@ -31,7 +31,7 @@ var _ol_geom_GeometryCollection_ = function(opt_geometries) {
|
||||
this.listenGeometriesChange_();
|
||||
};
|
||||
|
||||
_ol_.inherits(_ol_geom_GeometryCollection_, _ol_geom_Geometry_);
|
||||
inherits(_ol_geom_GeometryCollection_, _ol_geom_Geometry_);
|
||||
|
||||
|
||||
/**
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/**
|
||||
* @module ol/geom/LineString
|
||||
*/
|
||||
import _ol_ from '../index.js';
|
||||
import {inherits} from '../index.js';
|
||||
import _ol_array_ from '../array.js';
|
||||
import _ol_extent_ from '../extent.js';
|
||||
import _ol_geom_GeometryLayout_ from '../geom/GeometryLayout.js';
|
||||
@@ -58,7 +58,7 @@ var _ol_geom_LineString_ = function(coordinates, opt_layout) {
|
||||
|
||||
};
|
||||
|
||||
_ol_.inherits(_ol_geom_LineString_, _ol_geom_SimpleGeometry_);
|
||||
inherits(_ol_geom_LineString_, _ol_geom_SimpleGeometry_);
|
||||
|
||||
|
||||
/**
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/**
|
||||
* @module ol/geom/LinearRing
|
||||
*/
|
||||
import _ol_ from '../index.js';
|
||||
import {inherits} from '../index.js';
|
||||
import _ol_extent_ from '../extent.js';
|
||||
import _ol_geom_GeometryLayout_ from '../geom/GeometryLayout.js';
|
||||
import _ol_geom_GeometryType_ from '../geom/GeometryType.js';
|
||||
@@ -43,7 +43,7 @@ var _ol_geom_LinearRing_ = function(coordinates, opt_layout) {
|
||||
|
||||
};
|
||||
|
||||
_ol_.inherits(_ol_geom_LinearRing_, _ol_geom_SimpleGeometry_);
|
||||
inherits(_ol_geom_LinearRing_, _ol_geom_SimpleGeometry_);
|
||||
|
||||
|
||||
/**
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/**
|
||||
* @module ol/geom/MultiLineString
|
||||
*/
|
||||
import _ol_ from '../index.js';
|
||||
import {inherits} from '../index.js';
|
||||
import _ol_array_ from '../array.js';
|
||||
import _ol_extent_ from '../extent.js';
|
||||
import _ol_geom_GeometryLayout_ from '../geom/GeometryLayout.js';
|
||||
@@ -51,7 +51,7 @@ var _ol_geom_MultiLineString_ = function(coordinates, opt_layout) {
|
||||
|
||||
};
|
||||
|
||||
_ol_.inherits(_ol_geom_MultiLineString_, _ol_geom_SimpleGeometry_);
|
||||
inherits(_ol_geom_MultiLineString_, _ol_geom_SimpleGeometry_);
|
||||
|
||||
|
||||
/**
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/**
|
||||
* @module ol/geom/MultiPoint
|
||||
*/
|
||||
import _ol_ from '../index.js';
|
||||
import {inherits} from '../index.js';
|
||||
import _ol_array_ from '../array.js';
|
||||
import _ol_extent_ from '../extent.js';
|
||||
import _ol_geom_GeometryLayout_ from '../geom/GeometryLayout.js';
|
||||
@@ -27,7 +27,7 @@ var _ol_geom_MultiPoint_ = function(coordinates, opt_layout) {
|
||||
this.setCoordinates(coordinates, opt_layout);
|
||||
};
|
||||
|
||||
_ol_.inherits(_ol_geom_MultiPoint_, _ol_geom_SimpleGeometry_);
|
||||
inherits(_ol_geom_MultiPoint_, _ol_geom_SimpleGeometry_);
|
||||
|
||||
|
||||
/**
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/**
|
||||
* @module ol/geom/MultiPolygon
|
||||
*/
|
||||
import _ol_ from '../index.js';
|
||||
import {inherits} from '../index.js';
|
||||
import _ol_array_ from '../array.js';
|
||||
import _ol_extent_ from '../extent.js';
|
||||
import _ol_geom_GeometryLayout_ from '../geom/GeometryLayout.js';
|
||||
@@ -80,7 +80,7 @@ var _ol_geom_MultiPolygon_ = function(coordinates, opt_layout) {
|
||||
|
||||
};
|
||||
|
||||
_ol_.inherits(_ol_geom_MultiPolygon_, _ol_geom_SimpleGeometry_);
|
||||
inherits(_ol_geom_MultiPolygon_, _ol_geom_SimpleGeometry_);
|
||||
|
||||
|
||||
/**
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/**
|
||||
* @module ol/geom/Point
|
||||
*/
|
||||
import _ol_ from '../index.js';
|
||||
import {inherits} from '../index.js';
|
||||
import _ol_extent_ from '../extent.js';
|
||||
import _ol_geom_GeometryLayout_ from '../geom/GeometryLayout.js';
|
||||
import _ol_geom_GeometryType_ from '../geom/GeometryType.js';
|
||||
@@ -24,7 +24,7 @@ var _ol_geom_Point_ = function(coordinates, opt_layout) {
|
||||
this.setCoordinates(coordinates, opt_layout);
|
||||
};
|
||||
|
||||
_ol_.inherits(_ol_geom_Point_, _ol_geom_SimpleGeometry_);
|
||||
inherits(_ol_geom_Point_, _ol_geom_SimpleGeometry_);
|
||||
|
||||
|
||||
/**
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/**
|
||||
* @module ol/geom/Polygon
|
||||
*/
|
||||
import _ol_ from '../index.js';
|
||||
import {inherits} from '../index.js';
|
||||
import _ol_array_ from '../array.js';
|
||||
import _ol_extent_ from '../extent.js';
|
||||
import _ol_geom_GeometryLayout_ from '../geom/GeometryLayout.js';
|
||||
@@ -85,7 +85,7 @@ var _ol_geom_Polygon_ = function(coordinates, opt_layout) {
|
||||
|
||||
};
|
||||
|
||||
_ol_.inherits(_ol_geom_Polygon_, _ol_geom_SimpleGeometry_);
|
||||
inherits(_ol_geom_Polygon_, _ol_geom_SimpleGeometry_);
|
||||
|
||||
|
||||
/**
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/**
|
||||
* @module ol/geom/SimpleGeometry
|
||||
*/
|
||||
import _ol_ from '../index.js';
|
||||
import {inherits} from '../index.js';
|
||||
import _ol_functions_ from '../functions.js';
|
||||
import _ol_extent_ from '../extent.js';
|
||||
import _ol_geom_Geometry_ from '../geom/Geometry.js';
|
||||
@@ -43,7 +43,7 @@ var _ol_geom_SimpleGeometry_ = function() {
|
||||
|
||||
};
|
||||
|
||||
_ol_.inherits(_ol_geom_SimpleGeometry_, _ol_geom_Geometry_);
|
||||
inherits(_ol_geom_SimpleGeometry_, _ol_geom_Geometry_);
|
||||
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user