1
0
mirror of https://github.com/nolanlawson/pinafore synced 2025-02-03 07:15:47 +01:00

26 lines
848 B
JavaScript
Raw Normal View History

2018-01-25 09:03:34 -08:00
export const importURLSearchParams = () => import(
2018-01-14 17:13:42 -08:00
/* webpackChunkName: 'url-search-params' */ 'url-search-params'
).then(Params => {
window.URLSearchParams = Params
Object.defineProperty(window.URL.prototype, 'searchParams', {
get() {
return new Params(this.search)
}
})
})
2018-01-25 09:03:34 -08:00
export const importTimeline = () => import(
2018-01-27 16:35:44 -08:00
/* webpackChunkName: 'Timeline' */ '../_components/timeline/Timeline.html'
2018-01-14 23:24:27 -08:00
).then(mod => mod.default)
2018-01-25 09:03:34 -08:00
export const importIntersectionObserver = () => import(
2018-01-19 07:17:33 -08:00
/* webpackChunkName: 'intersection-observer' */ 'intersection-observer'
)
2018-01-25 09:03:34 -08:00
export const importRequestIdleCallback = () => import(
2018-01-17 00:06:24 -08:00
/* webpackChunkName: 'requestidlecallback' */ 'requestidlecallback'
)
2018-01-25 09:03:34 -08:00
export const importIndexedDBGetAllShim = () => import(
2018-01-18 20:57:15 -08:00
/* webpackChunkName: 'indexeddb-getall-shim' */ 'indexeddb-getall-shim'
)