git ssb

0+

dangerousbeans / patchbay-bootstrap



Tree: 9a90757d9b3b08602cfc1aaf8d1b507d15a23d94

Files: 9a90757d9b3b08602cfc1aaf8d1b507d15a23d94 / index.js

571 bytesRaw
1var h = require('hyperscript')
2var u = require('./util')
3var pull = require('pull-stream')
4var combine = require('depject')
5var fs = require('fs')
6var path = require('path')
7var SbotApi = require('./sbot-api')
8
9var modules = require('./modules')
10
11var u = require('./util')
12
13modules['sbot-api.js'] = SbotApi()
14combine(modules)
15
16if(process.title === 'node') {
17 console.log(require('depject/graph')(modules))
18 process.exit(0)
19}
20
21document.head.appendChild(
22 h('style', fs.readFileSync('./style.css', 'utf8')
23))
24
25document.body.appendChild(modules['app.js'].app())
26
27
28
29
30
31
32
33
34
35

Built with git-ssb-web