Files: 7e9e00e59396b9e019862208410ce294016e61ae / 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