Commit 3c9b18facfb73339b585ecdd2141a23586ab0095
delete ui.js
Dominic Tarr committed on 9/28/2016, 5:39:10 AMParent: 5591d62273ed583826be5ee98988e41448189131
Files changed
ui.js | deleted |
ui.js | ||
---|---|---|
@@ -1,24 +1,0 @@ | ||
1 | -var h = require('hyperscript') | |
2 | -var pull = require('pull-stream') | |
3 | -var u = require('./util') | |
4 | -var Scroller = require('pull-scroll') | |
5 | - | |
6 | -exports.createStream = function createStream (stream, render) { | |
7 | - var div = h('div.column', {style: {'overflow-y': 'auto'}}) | |
8 | - | |
9 | - pull( | |
10 | - stream, | |
11 | - Scroller(div, div, render, false, false) | |
12 | - ) | |
13 | - | |
14 | - return div | |
15 | -} | |
16 | - | |
17 | -exports.createRenderers = function (renderers, sbot) { | |
18 | - return function (data) { | |
19 | - return u.first(renderers, function (fn) { | |
20 | - return fn(data, sbot) | |
21 | - }) | |
22 | - } | |
23 | -} | |
24 | - |
Built with git-ssb-web