Commit 981d98437a12081fd3da461d2ec661d2a0f0933f
remove console.logs
Ev Bogue committed on 6/1/2018, 5:48:39 PMParent: 51c13efa0a9e4c1ad0ec9785e6337671148325a0
Files changed
views.js | changed |
views.js | ||
---|---|---|
@@ -88,9 +88,8 @@ | ||
88 | 88 | function createStream (opts) { |
89 | 89 | return pull( |
90 | 90 | sbot.backlinks({query: [{$filter: {dest: id}}], reverse: true}), |
91 | 91 | pull.map(function (msg) { |
92 | - console.log(msg) | |
93 | 92 | if (msg.value.private == true) |
94 | 93 | return 'ignoring private message' |
95 | 94 | else |
96 | 95 | return render(msg) |
@@ -161,9 +160,8 @@ | ||
161 | 160 | screen.appendChild(hyperscroll(content)) |
162 | 161 | sbot.get(src, function (err, data) { |
163 | 162 | if (err) {console.log('could not find message') } |
164 | 163 | data.value = data |
165 | - console.log(data) | |
166 | 164 | var root = src |
167 | 165 | if (data.value.content.root) |
168 | 166 | root = data.value.content.root |
169 | 167 | sbot.get(root, function (err, data) { |
@@ -173,9 +171,8 @@ | ||
173 | 171 | content.appendChild(render(data)) |
174 | 172 | pull( |
175 | 173 | sbot.links({rel: 'root', dest: root, values: true, keys: true, live: true}), |
176 | 174 | pull.drain(function (msg) { |
177 | - console.log(msg) | |
178 | 175 | if (msg.value) |
179 | 176 | content.appendChild(render(msg)) |
180 | 177 | }) |
181 | 178 | ) |
@@ -231,9 +228,8 @@ | ||
231 | 228 | userStream(src) |
232 | 229 | } else if (ref.isMsg(src)) { |
233 | 230 | msgThread(src) |
234 | 231 | } else if (src == 'mentions') { |
235 | - console.log('mentions') | |
236 | 232 | mentionsStream() |
237 | 233 | } else if (src == 'about') { |
238 | 234 | about() |
239 | 235 | } else if (src == 'edit') { |
Built with git-ssb-web