git ssb

16+

Dominic / patchbay



Tree: c0bb55d9b169c5943cb5dfabbd5a58a241a238af

Files: c0bb55d9b169c5943cb5dfabbd5a58a241a238af / index.js

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

Built with git-ssb-web