Commit 2e1c5c1e518cacb437beb1c7a7d1a897b214d8b8
remove pull-high-watermark
Dominic Tarr committed on 8/8/2016, 2:28:37 AMParent: 0c758ed0475ac05cdd7d3a469e2d332b4fb5b884
Files changed
modules/public.js | changed |
modules/public.js | ||
---|---|---|
@@ -8,10 +8,8 @@ | ||
8 | 8 | var message_render = plugs.first(exports.message_render = []) |
9 | 9 | var message_compose = plugs.first(exports.message_compose = []) |
10 | 10 | var sbot_log = plugs.first(exports.sbot_log = []) |
11 | 11 | |
12 | -var HighWatermark = require('pull-high-watermark') | |
13 | - | |
14 | 12 | exports.screen_view = function (path, sbot) { |
15 | 13 | if(path === '/public') { |
16 | 14 | |
17 | 15 | var content = h('div.column.scroller__content') |
@@ -29,9 +27,8 @@ | ||
29 | 27 | ) |
30 | 28 | |
31 | 29 | pull( |
32 | 30 | u.next(sbot_log, {reverse: true, limit: 100, live: false}), |
33 | -// HighWatermark(100), | |
34 | 31 | Scroller(div, content, message_render, false, false) |
35 | 32 | ) |
36 | 33 | |
37 | 34 | return div |
@@ -55,4 +52,6 @@ | ||
55 | 52 | |
56 | 53 | |
57 | 54 | |
58 | 55 | |
56 | + | |
57 | + |
Built with git-ssb-web