diff options
| author | GeoSot <[email protected]> | 2022-10-26 08:26:51 +0300 |
|---|---|---|
| committer | GitHub <[email protected]> | 2022-10-26 08:26:51 +0300 |
| commit | aa9d32dd153ed16943ad8be5e8795afaad24d0cf (patch) | |
| tree | b2d9432467aa8573a20fe8b5add3eccb173b3262 /js/src/util | |
| parent | 7166e95388be3797233e88f89a80c3b666c42851 (diff) | |
| download | bootstrap-aa9d32dd153ed16943ad8be5e8795afaad24d0cf.tar.xz bootstrap-aa9d32dd153ed16943ad8be5e8795afaad24d0cf.zip | |
Use explicit imports in our javascript source files (#36854)
Diffstat (limited to 'js/src/util')
| -rw-r--r-- | js/src/util/backdrop.js | 6 | ||||
| -rw-r--r-- | js/src/util/component-functions.js | 4 | ||||
| -rw-r--r-- | js/src/util/config.js | 4 | ||||
| -rw-r--r-- | js/src/util/focustrap.js | 6 | ||||
| -rw-r--r-- | js/src/util/scrollbar.js | 6 | ||||
| -rw-r--r-- | js/src/util/swipe.js | 6 | ||||
| -rw-r--r-- | js/src/util/template-factory.js | 8 |
7 files changed, 20 insertions, 20 deletions
diff --git a/js/src/util/backdrop.js b/js/src/util/backdrop.js index 342f8afc1..832ba745a 100644 --- a/js/src/util/backdrop.js +++ b/js/src/util/backdrop.js @@ -5,9 +5,9 @@ * -------------------------------------------------------------------------- */ -import EventHandler from '../dom/event-handler' -import { execute, executeAfterTransition, getElement, reflow } from './index' -import Config from './config' +import EventHandler from '../dom/event-handler.js' +import { execute, executeAfterTransition, getElement, reflow } from './index.js' +import Config from './config.js' /** * Constants diff --git a/js/src/util/component-functions.js b/js/src/util/component-functions.js index 798366b07..2298ac371 100644 --- a/js/src/util/component-functions.js +++ b/js/src/util/component-functions.js @@ -5,8 +5,8 @@ * -------------------------------------------------------------------------- */ -import EventHandler from '../dom/event-handler' -import { getElementFromSelector, isDisabled } from './index' +import EventHandler from '../dom/event-handler.js' +import { getElementFromSelector, isDisabled } from './index.js' const enableDismissTrigger = (component, method = 'hide') => { const clickEvent = `click.dismiss${component.EVENT_KEY}` diff --git a/js/src/util/config.js b/js/src/util/config.js index 119a3ea3d..f2d24b4ba 100644 --- a/js/src/util/config.js +++ b/js/src/util/config.js @@ -5,8 +5,8 @@ * -------------------------------------------------------------------------- */ -import { isElement, toType } from './index' -import Manipulator from '../dom/manipulator' +import { isElement, toType } from './index.js' +import Manipulator from '../dom/manipulator.js' /** * Class definition diff --git a/js/src/util/focustrap.js b/js/src/util/focustrap.js index 01ac76683..b03d46136 100644 --- a/js/src/util/focustrap.js +++ b/js/src/util/focustrap.js @@ -5,9 +5,9 @@ * -------------------------------------------------------------------------- */ -import EventHandler from '../dom/event-handler' -import SelectorEngine from '../dom/selector-engine' -import Config from './config' +import EventHandler from '../dom/event-handler.js' +import SelectorEngine from '../dom/selector-engine.js' +import Config from './config.js' /** * Constants diff --git a/js/src/util/scrollbar.js b/js/src/util/scrollbar.js index 421426d41..94a677c9f 100644 --- a/js/src/util/scrollbar.js +++ b/js/src/util/scrollbar.js @@ -5,9 +5,9 @@ * -------------------------------------------------------------------------- */ -import SelectorEngine from '../dom/selector-engine' -import Manipulator from '../dom/manipulator' -import { isElement } from './index' +import SelectorEngine from '../dom/selector-engine.js' +import Manipulator from '../dom/manipulator.js' +import { isElement } from './index.js' /** * Constants diff --git a/js/src/util/swipe.js b/js/src/util/swipe.js index 7fcd65588..3a9139cc0 100644 --- a/js/src/util/swipe.js +++ b/js/src/util/swipe.js @@ -5,9 +5,9 @@ * -------------------------------------------------------------------------- */ -import Config from './config' -import EventHandler from '../dom/event-handler' -import { execute } from './index' +import Config from './config.js' +import EventHandler from '../dom/event-handler.js' +import { execute } from './index.js' /** * Constants diff --git a/js/src/util/template-factory.js b/js/src/util/template-factory.js index 16ec6c28d..9cd12dcdb 100644 --- a/js/src/util/template-factory.js +++ b/js/src/util/template-factory.js @@ -5,10 +5,10 @@ * -------------------------------------------------------------------------- */ -import { DefaultAllowlist, sanitizeHtml } from './sanitizer' -import { execute, getElement, isElement } from '../util/index' -import SelectorEngine from '../dom/selector-engine' -import Config from './config' +import { DefaultAllowlist, sanitizeHtml } from './sanitizer.js' +import { execute, getElement, isElement } from './index.js' +import SelectorEngine from '../dom/selector-engine.js' +import Config from './config.js' /** * Constants |
