39 lines
1.1 KiB
JavaScript
39 lines
1.1 KiB
JavaScript
const importURLSearchParams = () => import(
|
|
/* webpackChunkName: 'url-search-params' */ 'url-search-params'
|
|
).then(Params => {
|
|
window.URLSearchParams = Params
|
|
Object.defineProperty(window.URL.prototype, 'searchParams', {
|
|
get() {
|
|
return new Params(this.search)
|
|
}
|
|
})
|
|
})
|
|
|
|
const importTimeline = () => import(
|
|
/* webpackChunkName: 'Timeline' */ '../_components/Timeline.html'
|
|
).then(mod => mod.default)
|
|
|
|
const importIntersectionObserver = () => import(
|
|
/* webpackChunkname: 'intersection-observer' */ 'intersection-observer'
|
|
)
|
|
|
|
const importRequestIdleCallback = () => import(
|
|
/* webpackChunkName: 'requestidlecallback' */ 'requestidlecallback'
|
|
)
|
|
|
|
const importIndexedDBGetAllShim = () => import(
|
|
/* webpackChunkName: 'indexeddb-getall-shim' */ 'indexeddb-getall-shim'
|
|
)
|
|
|
|
const importOfflineNotification = () => import(
|
|
/* webpackHunkName: 'offlineNotification' */ '../_utils/offlineNotification'
|
|
)
|
|
|
|
export {
|
|
importURLSearchParams,
|
|
importTimeline,
|
|
importIntersectionObserver,
|
|
importRequestIdleCallback,
|
|
importIndexedDBGetAllShim,
|
|
importOfflineNotification
|
|
} |