git ssb

2+

ev / mvd



Tree: b05c12ba850a6a9d4f5af6d9f32136f3baf5d75f

Files: b05c12ba850a6a9d4f5af6d9f32136f3baf5d75f / 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