1
0
mirror of https://github.com/nolanlawson/pinafore synced 2025-02-09 07:58:43 +01:00

9 lines
401 B
JavaScript
Raw Normal View History

2018-01-14 17:13:42 -08:00
import { init } from 'sapper/runtime.js'
2018-01-18 23:37:43 -08:00
import { offlineNotifiction } from '../routes/_utils/offlineNotification'
import { serviceWorkerClient } from '../routes/_utils/serviceWorkerClient'
2018-01-27 16:31:26 -08:00
import { loadPolyfills } from '../routes/_utils/loadPolyfills'
2018-01-18 21:25:12 -08:00
2018-01-27 16:31:26 -08:00
loadPolyfills().then(() => {
2018-01-07 23:00:15 -08:00
// `routes` is an array of route objects injected by Sapper
init(document.querySelector('#sapper'), __routes__)
2018-01-18 23:37:43 -08:00
})