Files: 60479658b26b297158dd59938d021562a5b447ec / main.js
484 bytesRaw
1 | const combine = require('depject') |
2 | const entry = require('depject/entry') |
3 | const nest = require('depnest') |
4 | |
5 | // polyfills |
6 | require('setimmediate') |
7 | |
8 | // from more specialized to more general |
9 | const sockets = combine( |
10 | require('./'), |
11 | require('patch-history'), |
12 | require('patchcore') |
13 | ) |
14 | |
15 | const api = entry(sockets, nest('app.html.app', 'first')) |
16 | |
17 | const app = api.app.html.app() |
18 | |
19 | // TODO (mix) : once app has swapping pages, attach the app to the page here |
20 | // document.body.appendChild(app) |
21 |
Built with git-ssb-web