Skip to content

Commit

Permalink
[BUG] Reference error in modules #1088
Browse files Browse the repository at this point in the history
  • Loading branch information
Viglino committed Jul 17, 2024
1 parent c75576e commit 29f9cc9
Show file tree
Hide file tree
Showing 8 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion dist/ol-ext.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* ol-ext - A set of cool extensions for OpenLayers (ol) in node modules structure
* @description ol3,openlayers,popup,menu,symbol,renderer,filter,canvas,interaction,split,statistic,charts,pie,LayerSwitcher,toolbar,animation
* @version v4.0.20
* @version v4.0.21
* @author Jean-Marc Viglino
* @see https://github.com/Viglino/ol-ext#,
* @license BSD-3-Clause
Expand Down
2 changes: 1 addition & 1 deletion dist/ol-ext.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ol-ext",
"version": "4.0.20",
"version": "4.0.21",
"description": "A set of cool extensions for OpenLayers (ol) in node modules structure",
"main": "dist/ol-ext.js",
"style": "dist/ol-ext.css",
Expand Down
6 changes: 3 additions & 3 deletions src/control/FeatureList.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import ol_geom_Geometry from 'ol/geom/Geometry'
import ol_control_Control from 'ol/control/Control'
import ol_ext_element from '../util/element';
import ol_geom_Geometry from 'ol/geom/Geometry.js'
import ol_control_Control from 'ol/control/Control.js'
import ol_ext_element from '../util/element.js';

/** Feature list control
*
Expand Down
2 changes: 1 addition & 1 deletion src/control/LayerSwitcher.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import ol_layer_Tile from 'ol/layer/Tile.js'
import ol_layer_Vector from 'ol/layer/Vector.js'
import ol_layer_VectorTile from 'ol/layer/VectorTile.js'
// ol < 6 compatibility VectorImage is not defined
// import ol_layer_VectorImage from 'ol/layer/VectorImage'
// import ol_layer_VectorImage from 'ol/layer/VectorImage.js'
import ol_layer_Image from 'ol/layer/Image.js'
import ol_layer_Heatmap from 'ol/layer/Heatmap.js'
import {intersects as ol_extent_intersects} from 'ol/extent.js'
Expand Down
2 changes: 1 addition & 1 deletion src/interaction/Transform.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import {fromExtent as ol_geom_Polygon_fromExtent} from 'ol/geom/Polygon.js'
import {boundingExtent as ol_extent_boundingExtent, buffer as ol_extent_buffer, createEmpty as ol_extent_createEmpty, extend as ol_extent_extend, getCenter as ol_extent_getCenter} from 'ol/extent.js'
import {unByKey as ol_Observable_unByKey} from 'ol/Observable.js'
import ol_geom_Polygon from 'ol/geom/Polygon.js'
import ol_ext_element from '../util/element'
import ol_ext_element from '../util/element.js'

/** Interaction rotate
* @constructor
Expand Down
2 changes: 1 addition & 1 deletion src/layer/Geoportail.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import ol_layer_Tile from 'ol/layer/Tile.js'
import ol_format_WMTSCapabilities from 'ol/format/WMTSCapabilities.js'
import ol_ext_Ajax from '../util/Ajax.js'
import {transformExtent as ol_proj_transformExtent} from 'ol/proj.js'
// import {intersects as ol_extent_intersects} from 'ol/extent'
// import {intersects as ol_extent_intersects} from 'ol/extent.js'

import ol_source_Geoportail from '../source/Geoportail.js'

Expand Down
2 changes: 1 addition & 1 deletion src/render/Cspline.js
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,6 @@ ol_geom_LineString.prototype.calcCSpline_ = function(options) {
}

// To use this module with ol/geom/Geometry
// import 'ol-ext/utils/cspline'
// import 'ol-ext/utils/cspline.js'

export default ol_coordinate_cspline

0 comments on commit 29f9cc9

Please sign in to comment.