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