git ssb

16+

Dominic / patchbay



Tree: 1de8481b3ecc82fb5558ec44c90f9731df320b05

Files: 1de8481b3ecc82fb5558ec44c90f9731df320b05 / main.js

670 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, //adds menu items
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