git ssb

2+

ev / mvd



Tree: 49ecefe8720bc3af7ddca1a70870bdbadceae6da

Files: 49ecefe8720bc3af7ddca1a70870bdbadceae6da / index.js

304 bytesRaw
1var h = require('hyperscript')
2
3var views = require('./views')
4
5document.head.appendChild(h('style', require('./style.css.json')))
6
7var src = window.location.hash
8
9window.onhashchange = function () {
10 window.location.reload()
11}
12
13if (src == '#raw') {
14 views.rawstream()
15} else {
16 views.logstream()
17}
18

Built with git-ssb-web