git ssb

16+

Dominic / patchbay



Tree: dde331f9144fc97dc07e6a70e07625fab91fa875

Files: dde331f9144fc97dc07e6a70e07625fab91fa875 / main.js

575 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 {'patch-context': 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