Files: d6637ae89d381d174f5c5aac3dafebebe079c33a / index.js
482 bytesRaw
1 | const combine = require('depject') |
2 | const entry = require('depject/entry') |
3 | const nest = require('depnest') |
4 | const bulk = require('bulk-require') |
5 | |
6 | // polyfills |
7 | require('setimmediate') |
8 | |
9 | // from more specialized to more general |
10 | const sockets = combine( |
11 | // require(patchgit) |
12 | bulk(__dirname, [ |
13 | '!(node_modules|junk)/**/*.js' |
14 | ]), |
15 | require('patchcore') |
16 | ) |
17 | |
18 | const api = entry(sockets, nest('main.html.app', 'first')) |
19 | |
20 | const app = api.main.html.app() |
21 | document.body.appendChild(app) |
22 | |
23 |
Built with git-ssb-web