Files: 815a0b039bd2ce2cfe6eeec00539945cb5660fd1 / main.js
528 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 | debugger |
17 | |
18 | const api = entry(sockets, nest('app.html.app', 'first')) |
19 | |
20 | const app = api.app.html.app() |
21 | |
22 | // TODO (mix) : once goTo/ router is swapping pages, attach the app to the page here |
23 | // document.body.appendChild(app) |
24 |
Built with git-ssb-web