git ssb

16+

Dominic / patchbay



Tree: 8777b547e01bb820afd3958bd33ce416030e9468

Files: 8777b547e01bb820afd3958bd33ce416030e9468 / main.js

802 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 require('patch-inbox'),
23 require('patch-history'),
24 patchbay,
25 patchContext,
26 patchSettings,
27 patchcore
28)
29
30const api = entry(sockets, nest('app.html.app', 'first'))
31
32const app = api.app.html.app()
33document.body.appendChild(app)
34

Built with git-ssb-web