git ssb

16+

Dominic / patchbay



Tree: b340de1dd8760f0750c0d0c076f90664675b0e31

Files: b340de1dd8760f0750c0d0c076f90664675b0e31 / 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