git ssb

16+

Dominic / patchbay



Tree: 08f7f6c18cb0575d7b590616918aeeca015ef462

Files: 08f7f6c18cb0575d7b590616918aeeca015ef462 / main.js

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

Built with git-ssb-web