Files: 0882250828f8b296fbb0440e8f4e54238db0c88c / out / index.js
349 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