git ssb

0+

ev / microbay



forked from Dominic / patchbay

Tree: 5b997de1810135a0ed40eb331bcb6c6a38939280

Files: 5b997de1810135a0ed40eb331bcb6c6a38939280 / 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