1
0
mirror of https://github.com/nolanlawson/pinafore synced 2025-01-25 13:09:19 +01:00

12 lines
401 B
JavaScript
Raw Normal View History

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'
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
})