Files: a5bd64597b0d3de434c72eec2df82b00f04d1d33 / browser.js
218 bytesRaw
1 | const RAF = require('random-access-web') |
2 | |
3 | module.exports = function (filename) { |
4 | if('string' === typeof filename) { |
5 | const raf = RAF(filename) |
6 | raf.filename = filename |
7 | return raf |
8 | } |
9 | return filename |
10 | } |
11 | |
12 | |
13 | |
14 |
Built with git-ssb-web