git ssb

16+

Dominic / patchbay



Tree: 226d1bbd231cc9cded2c2299eaf7b5c5dcfd6f64

Files: 226d1bbd231cc9cded2c2299eaf7b5c5dcfd6f64 / main.js

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

Built with git-ssb-web