git ssb

16+

Dominic / patchbay



Tree: 783d336f14fe7f13b2784e33007e0ac65afeeeea

Files: 783d336f14fe7f13b2784e33007e0ac65afeeeea / 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