2018-01-14 17:13:42 -08:00
|
|
|
import { init } from 'sapper/runtime.js'
|
2018-01-27 16:31:26 -08:00
|
|
|
import { loadPolyfills } from '../routes/_utils/loadPolyfills'
|
2018-02-08 22:36:12 -08:00
|
|
|
import '../routes/_utils/serviceWorkerClient'
|
2018-02-10 13:57:04 -08:00
|
|
|
import '../routes/_utils/historyEvents'
|
2018-02-14 18:37:19 -08:00
|
|
|
import '../routes/_utils/loadingMask'
|
2018-02-08 22:29:29 -08:00
|
|
|
|
2018-01-27 16:31:26 -08:00
|
|
|
loadPolyfills().then(() => {
|
2018-02-21 17:52:33 -08:00
|
|
|
console.log('init()')
|
2018-01-07 23:00:15 -08:00
|
|
|
// `routes` is an array of route objects injected by Sapper
|
|
|
|
init(document.querySelector('#sapper'), __routes__)
|
2018-02-08 22:29:29 -08:00
|
|
|
})
|