git ssb

1+

punkmonk.termux / mvd



forked from ev / mvd

Commit 981d98437a12081fd3da461d2ec661d2a0f0933f

remove console.logs

Ev Bogue committed on 6/1/2018, 5:48:39 PM
Parent: 51c13efa0a9e4c1ad0ec9785e6337671148325a0

Files changed

views.jschanged
views.jsView
@@ -88,9 +88,8 @@
8888 function createStream (opts) {
8989 return pull(
9090 sbot.backlinks({query: [{$filter: {dest: id}}], reverse: true}),
9191 pull.map(function (msg) {
92- console.log(msg)
9392 if (msg.value.private == true)
9493 return 'ignoring private message'
9594 else
9695 return render(msg)
@@ -161,9 +160,8 @@
161160 screen.appendChild(hyperscroll(content))
162161 sbot.get(src, function (err, data) {
163162 if (err) {console.log('could not find message') }
164163 data.value = data
165- console.log(data)
166164 var root = src
167165 if (data.value.content.root)
168166 root = data.value.content.root
169167 sbot.get(root, function (err, data) {
@@ -173,9 +171,8 @@
173171 content.appendChild(render(data))
174172 pull(
175173 sbot.links({rel: 'root', dest: root, values: true, keys: true, live: true}),
176174 pull.drain(function (msg) {
177- console.log(msg)
178175 if (msg.value)
179176 content.appendChild(render(msg))
180177 })
181178 )
@@ -231,9 +228,8 @@
231228 userStream(src)
232229 } else if (ref.isMsg(src)) {
233230 msgThread(src)
234231 } else if (src == 'mentions') {
235- console.log('mentions')
236232 mentionsStream()
237233 } else if (src == 'about') {
238234 about()
239235 } else if (src == 'edit') {

Built with git-ssb-web