git ssb

2+

mixmix / ticktack



Tree: fd90a69c5a2931ed4ec735c57c4b2ebb42bcfe42

Files: fd90a69c5a2931ed4ec735c57c4b2ebb42bcfe42 / main.js

519 bytesRaw
1const combine = require('depject')
2const entry = require('depject/entry')
3const nest = require('depnest')
4
5const ticktack = require('./')
6const patchcore = require('patchcore')
7
8// polyfills
9require('setimmediate')
10
11// from more specialized to more general
12const sockets = combine(
13 ticktack,
14 patchcore
15)
16
17const api = entry(sockets, nest('app.html.app', 'first'))
18
19const 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