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