Files: fd8b397e7cab2d7ba28cba8c0e0e1d845e8ad86b / index.js
476 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, [ '!(node_modules|junk)/**/*.js' ]), |
13 | require('patchcore') |
14 | ) |
15 | |
16 | const api = entry(sockets, nest('main.html.app', 'first')) |
17 | |
18 | const app = api.main.html.app() |
19 | document.body.appendChild(app) |
20 | |
21 |
Built with git-ssb-web