Files: ccc34dfd351fd863de680736e90b24f449a31a13 / js / dat.js
321 bytesRaw
1 | const LetniceLib = require('../lib/index.js'); |
2 | |
3 | (function() { |
4 | const letnice = new LetniceLib('letnice'); |
5 | const archive = new DatArchive(window.location.origin); |
6 | |
7 | letnice.db.open(); |
8 | letnice.prepareArchive(archive); |
9 | letnice.db.indexArchive(archive); |
10 | |
11 | window.archive = archive; |
12 | window.letnice = letnice; |
13 | }()); |
14 |
Built with git-ssb-web