git ssb

2+

mixmix / ticktack



Tree: f67dee83205ce75cdc20a89fdf5f45993d6809df

Files: f67dee83205ce75cdc20a89fdf5f45993d6809df / main.js

689 bytesRaw
1const combine = require('depject')
2const entry = require('depject/entry')
3const nest = require('depnest')
4
5// polyfills
6require('setimmediate')
7
8// add inspect right click menu
9require('./context-menu')
10
11// from more specialized to more general
12const sockets = combine(
13 {
14 app: require('./app'),
15 blob: require('./blob'),
16 config: require('./config'),
17 router: require('./router'),
18 styles: require('./styles')
19 },
20 require('patch-history'),
21 require('patchcore')
22)
23
24const api = entry(sockets, nest('app.html.app', 'first'))
25
26const app = api.app.html.app()
27
28// TODO (mix) : once app has swapping pages, attach the app to the page here
29// document.body.appendChild(app)
30

Built with git-ssb-web