git ssb

0+

dangerousbeans / patchbay-bootstrap



Tree: 29997160555aa9df4541f65ba3ca7b58d4a8c9c4

Files: 29997160555aa9df4541f65ba3ca7b58d4a8c9c4 / index.js

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

Built with git-ssb-web