Files: dde331f9144fc97dc07e6a70e07625fab91fa875 / main.js
575 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 | {'patch-context': require('patch-context') }, |
17 | horcrux, |
18 | patchbay, |
19 | patchcore |
20 | ) |
21 | |
22 | const api = entry(sockets, nest('app.html.app', 'first')) |
23 | |
24 | const app = api.app.html.app() |
25 | document.body.appendChild(app) |
26 | |
27 |
Built with git-ssb-web