git ssb

16+

Dominic / patchbay



Tree: 0b83856cdd663c07cc28d7f3f0f3a883b41881da

Files: 0b83856cdd663c07cc28d7f3f0f3a883b41881da / main.js

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

Built with git-ssb-web