Files: 55ff62f5eea8b7d0e3fb82d71183f46c8b686c5a / 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