2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-05 16:42:29 +03:00

Ref: add explicit imports on our js source file

This commit is contained in:
GeoSot
2022-07-27 14:24:06 +03:00
parent 44c9c8df8d
commit bd40086c68
26 changed files with 132 additions and 110 deletions
+3 -3
View File
@@ -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
+2 -2
View File
@@ -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}`
+2 -2
View File
@@ -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
+3 -3
View File
@@ -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
+3 -3
View File
@@ -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
+3 -3
View File
@@ -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
+4 -4
View File
@@ -5,10 +5,10 @@
* --------------------------------------------------------------------------
*/
import { DefaultAllowlist, sanitizeHtml } from './sanitizer'
import { getElement, isElement } from '../util/index'
import SelectorEngine from '../dom/selector-engine'
import Config from './config'
import { DefaultAllowlist, sanitizeHtml } from './sanitizer.js'
import { getElement, isElement } from './index.js'
import SelectorEngine from '../dom/selector-engine.js'
import Config from './config.js'
/**
* Constants