Files: 038e248915e3e8c69af62015ec1eb52f957d79f3 / main.js
527 bytesRaw
1 | const combine = require('depject') |
2 | const entry = require('depject/entry') |
3 | const nest = require('depnest') |
4 | |
5 | // const git = require('patch-git') |
6 | const horcrux = require('ssb-horcrux') |
7 | const patchbay = require('./') |
8 | const patchcore = require('patchcore') |
9 | |
10 | // polyfills |
11 | require('setimmediate') |
12 | |
13 | // from more specialized to more general |
14 | const sockets = combine( |
15 | // git, |
16 | horcrux, |
17 | patchbay, |
18 | patchcore |
19 | ) |
20 | |
21 | const api = entry(sockets, nest('app.html.app', 'first')) |
22 | |
23 | const app = api.app.html.app() |
24 | document.body.appendChild(app) |
25 | |
26 |
Built with git-ssb-web