git ssb

16+

Dominic / patchbay



Tree: 109a8e516aa40324eb7ee406afb7d35b0d0be031

Files: 109a8e516aa40324eb7ee406afb7d35b0d0be031 / main.js

521 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 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 horcrux,
17 patchbay,
18 patchcore
19)
20
21const api = entry(sockets, nest('app.html.app', 'first'))
22
23const app = api.app.html.app()
24document.body.appendChild(app)
25
26

Built with git-ssb-web