From 791242a73bcaa02710f6f908f548ab3bda124382 Mon Sep 17 00:00:00 2001 From: Marc Jansen Date: Tue, 19 Dec 2017 08:34:17 +0100 Subject: [PATCH] Import assert function directly --- src/ol/extent.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ol/extent.js b/src/ol/extent.js index f27d2e2f73..f9fa970e9e 100644 --- a/src/ol/extent.js +++ b/src/ol/extent.js @@ -1,7 +1,7 @@ /** * @module ol/extent */ -import asserts from './asserts.js'; +import {assert} from './asserts.js'; import Corner from './extent/Corner.js'; import Relationship from './extent/Relationship.js'; @@ -488,7 +488,7 @@ export function getCorner(extent, corner) { } else if (corner === Corner.TOP_RIGHT) { coordinate = getTopRight(extent); } else { - asserts.assert(false, 13); // Invalid corner + assert(false, 13); // Invalid corner } return /** @type {!ol.Coordinate} */ (coordinate); }