git ssb

16+

Dominic / patchbay



Tree: 9ec32b65bdd8f625866616dc536cf25c26c163bc

Files: 9ec32b65bdd8f625866616dc536cf25c26c163bc / main.js

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

Built with git-ssb-web