Files: c0bb55d9b169c5943cb5dfabbd5a58a241a238af / index.js
396 bytesRaw
1 | const combine = require('depject') |
2 | const bulk = require('bulk-require') |
3 | |
4 | // polyfills |
5 | require('setimmediate') |
6 | |
7 | // from more specialized to more general |
8 | const sockets = combine( |
9 | // require(patchgit) |
10 | bulk(__dirname, [ |
11 | 'page/**/*.js', |
12 | 'app/**/*.js' |
13 | ]), |
14 | require('patchcore') |
15 | ) |
16 | |
17 | const app = entry(sockets) |
18 | |
19 | app() |
20 | |
21 | |
22 | |
23 | |
24 | function entry (sockets) { |
25 | return sockets.app.html.render[0]() |
26 | } |
27 | |
28 |
Built with git-ssb-web