2018-01-15 01:13:42 +00:00
|
|
|
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)
|
|
|
|
}
|
|
|
|
})
|
|
|
|
})
|
|
|
|
|
2018-01-15 01:50:29 +00:00
|
|
|
const importToast = () => import(
|
|
|
|
/* webpackChunkName: 'toast' */ './toast'
|
|
|
|
).then(mod => mod.toast)
|
|
|
|
|
2018-01-15 01:13:42 +00:00
|
|
|
export {
|
2018-01-15 01:50:29 +00:00
|
|
|
importURLSearchParams,
|
|
|
|
importToast
|
2018-01-15 01:13:42 +00:00
|
|
|
}
|