Files: a7018ed04f2f3649a770fa168f32d48b5ffdf057 / output.js
348 bytesRaw
1 | const insertCss = require('insert-css') |
2 | const Sbot = require('ssb-client') |
3 | const Viz = require('./') |
4 | |
5 | insertCss(` |
6 | html, body { |
7 | width: 100%; |
8 | height: 100%; |
9 | position: absolute; |
10 | overflow: hidden; |
11 | padding: 0; |
12 | margin: 0; |
13 | } |
14 | `) |
15 | |
16 | Sbot((err, sbot) => { |
17 | Viz(sbot, (err, viz) => { |
18 | if (err) throw err |
19 | sbot.close() |
20 | }) |
21 | }) |
22 |
Built with git-ssb-web