Commit 4c42b69337a1ffb7554f9f4830b160aefe294cf1
pass through opts.limit
Dominic Tarr committed on 11/24/2016, 10:07:41 AMParent: aa2a78d0050d935058d23d25e4788e6d608b4c5c
Files changed
index.js | changed |
index.js | ||
---|---|---|
@@ -65,8 +65,9 @@ | ||
65 | 65 … | _opts.reverse = !!opts.reverse |
66 | 66 … | _opts.live = opts.live |
67 | 67 … | _opts.old = opts.old |
68 | 68 … | _opts.sync = opts.sync |
69 … | + _opts.limit = opts.limit | |
69 | 70 … | |
70 | 71 … | return pull( |
71 | 72 … | read(_opts), pull.map('value'), |
72 | 73 … | isArray(opts.query) ? mfr(opts.query) : pull.through() |
@@ -77,4 +78,5 @@ | ||
77 | 78 … | return index |
78 | 79 … | } |
79 | 80 … | } |
80 | 81 … | |
82 … | + |
Built with git-ssb-web