diff --git a/src/ol/loadingstrategy.js b/src/ol/loadingstrategy.js index 79573cafc9..9a799c3444 100644 --- a/src/ol/loadingstrategy.js +++ b/src/ol/loadingstrategy.js @@ -10,9 +10,9 @@ * @return {Array.} Extents. * @api */ -export const all = function(extent, resolution) { +export function all(extent, resolution) { return [[-Infinity, -Infinity, Infinity, Infinity]]; -}; +} /** @@ -23,9 +23,9 @@ export const all = function(extent, resolution) { * @return {Array.} Extents. * @api */ -export const bbox = function(extent, resolution) { +export function bbox(extent, resolution) { return [extent]; -}; +} /** @@ -34,7 +34,7 @@ export const bbox = function(extent, resolution) { * @return {function(ol.Extent, number): Array.} Loading strategy. * @api */ -export const tile = function(tileGrid) { +export function tile(tileGrid) { return ( /** * @param {ol.Extent} extent Extent. @@ -57,4 +57,4 @@ export const tile = function(tileGrid) { } return extents; }); -}; +}