git ssb

16+

Dominic / patchbay



Tree: 57de42b7c6d8e4085a7d4e4567089ae61f0801d7

Files: 57de42b7c6d8e4085a7d4e4567089ae61f0801d7 / index.js

622 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
9document.head.appendChild(h('style', fs.readFileSync('./style.css', 'utf8')))
10
11var modules = fs.readdirSync(path.join(__dirname, 'modules'))
12 .map(function (e) { return require('./modules/'+e) })
13
14var renderers = []
15var app = []
16var App = require('./plugs').first(app)
17
18var u = require('./util')
19
20modules.unshift(SbotApi())
21modules.unshift({app: app})
22combine(modules)
23
24document.body.appendChild(App())
25
26
27
28
29
30
31
32

Built with git-ssb-web