From 7247ccbf38d013d895b85e458729181cb156d1af Mon Sep 17 00:00:00 2001 From: Andreas Hocevar Date: Wed, 13 Dec 2017 09:21:50 +0100 Subject: [PATCH] Remove variable for Corner and Relationship --- src/ol/extent/Corner.js | 4 +--- src/ol/extent/Relationship.js | 4 +--- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/src/ol/extent/Corner.js b/src/ol/extent/Corner.js index 174026a98e..0f98ebc79e 100644 --- a/src/ol/extent/Corner.js +++ b/src/ol/extent/Corner.js @@ -5,11 +5,9 @@ * Extent corner. * @enum {string} */ -var _ol_extent_Corner_ = { +export default { BOTTOM_LEFT: 'bottom-left', BOTTOM_RIGHT: 'bottom-right', TOP_LEFT: 'top-left', TOP_RIGHT: 'top-right' }; - -export default _ol_extent_Corner_; diff --git a/src/ol/extent/Relationship.js b/src/ol/extent/Relationship.js index 2c993f1a17..6cad82a5ad 100644 --- a/src/ol/extent/Relationship.js +++ b/src/ol/extent/Relationship.js @@ -5,7 +5,7 @@ * Relationship to an extent. * @enum {number} */ -var _ol_extent_Relationship_ = { +export default { UNKNOWN: 0, INTERSECTING: 1, ABOVE: 2, @@ -13,5 +13,3 @@ var _ol_extent_Relationship_ = { BELOW: 8, LEFT: 16 }; - -export default _ol_extent_Relationship_;