From a653d1b073bf65f24ae69db5927fc88492f34293 Mon Sep 17 00:00:00 2001 From: Adam Chlupacek Date: Tue, 27 Jun 2023 18:31:27 +0200 Subject: [PATCH] Fix failing tests due to unused imports. --- src/core/viewport.js | 1 - src/extensions/renderer/base/coord-ele-math/coords.js | 1 - src/extensions/renderer/base/index.js | 1 - src/style/container.js | 2 -- 4 files changed, 5 deletions(-) diff --git a/src/core/viewport.js b/src/core/viewport.js index 0037a5c04a..8ddd33a46a 100644 --- a/src/core/viewport.js +++ b/src/core/viewport.js @@ -1,5 +1,4 @@ import * as is from '../is'; -import window from '../window'; import * as math from '../math'; let defaultSelectionType = 'single'; diff --git a/src/extensions/renderer/base/coord-ele-math/coords.js b/src/extensions/renderer/base/coord-ele-math/coords.js index 71633dd101..2c1830298c 100644 --- a/src/extensions/renderer/base/coord-ele-math/coords.js +++ b/src/extensions/renderer/base/coord-ele-math/coords.js @@ -1,4 +1,3 @@ -import window from '../../../../window'; import * as math from '../../../../math'; import * as util from '../../../../util'; diff --git a/src/extensions/renderer/base/index.js b/src/extensions/renderer/base/index.js index e7e59b6731..0233c7f3fc 100644 --- a/src/extensions/renderer/base/index.js +++ b/src/extensions/renderer/base/index.js @@ -1,6 +1,5 @@ import * as util from '../../../util'; import * as is from '../../../is'; -import window from '../../../window'; import arrowShapes from './arrow-shapes'; import coordEleMath from './coord-ele-math'; diff --git a/src/style/container.js b/src/style/container.js index 0fec542dc6..f4f815c877 100644 --- a/src/style/container.js +++ b/src/style/container.js @@ -1,5 +1,3 @@ -import window from '../window'; - let styfn = {}; // gets what an em size corresponds to in pixels relative to a dom element