git ssb

16+

Dominic / patchbay



Tree: bc5f24f907a046c27b6175884d4528fb7854de14

Files: bc5f24f907a046c27b6175884d4528fb7854de14 / main.js

652 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 bayGatherings = require('patchbay-gatherings')
9const patchbay = require('./')
10const patchcore = require('patchcore')
11
12// polyfills
13require('setimmediate')
14
15// from more specialized to more general
16const sockets = combine(
17 git,
18 bayGatherings,
19 gatherings,
20 horcrux,
21 patchbay,
22 patchcore
23)
24
25const api = entry(sockets, nest('app.html.app', 'first'))
26
27const app = api.app.html.app()
28document.body.appendChild(app)
29
30

Built with git-ssb-web