git ssb

16+

Dominic / patchbay



Tree: 5cfe6a2d02a2cfe0b12712d63f949d1afe721599

Files: 5cfe6a2d02a2cfe0b12712d63f949d1afe721599 / 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