git ssb

16+

Dominic / patchbay



Tree: b1cf9a6ccccdca7700773712ae53acebc92cafef

Files: b1cf9a6ccccdca7700773712ae53acebc92cafef / main.js

582 bytesRaw
1const combine = require('depject')
2const entry = require('depject/entry')
3const nest = require('depnest')
4
5const git = require('patch-git')
6const horcrux = require('ssb-horcrux')
7const gatherings = require('patch-gatherings')
8const patchbay = require('./')
9const patchcore = require('patchcore')
10
11// polyfills
12require('setimmediate')
13
14// from more specialized to more general
15const sockets = combine(
16 git,
17 gatherings,
18 horcrux,
19 patchbay,
20 patchcore
21)
22
23const api = entry(sockets, nest('app.html.app', 'first'))
24
25const app = api.app.html.app()
26document.body.appendChild(app)
27
28

Built with git-ssb-web