git ssb

2+

ev / mvd



Tree: b7fa14294c552a418b5403b44385f0761fce9638

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