git ssb

2+

Dominic / yap



Commit 2e24f63f3e975823d94bc8e83243dd998d9caa5f

preview confirm path

Dominic Tarr committed on 9/3/2019, 12:06:51 AM
Parent: 3b86de48d30d83f3f0fa77997f6ec0ff7532dc59

Files changed

index.jschanged
index.jsView
@@ -1,12 +1,20 @@
11 #! /usr/bin/env node
2 +
3 +//var log = console.log
4 +//console.log = function () {
5 +// var args = [].slice.call(arguments)
6 +// console.error(new Error('log trace'))
7 +// log.apply(null, args)
8 +//}
9 +
210 var fs = require('fs')
311 var path = require('path')
412 var ref = require('ssb-ref')
513 var Stack = require('stack')
614
715 //refactor to ditch these things
8-var nested = require('libnested')
16 +hvar nested = require('libnested')
917 var pull = require('pull-stream')
1018 var URL = require('url')
1119 var QS = require('qs')
1220 var u = require('yap-util')
@@ -34,9 +42,11 @@
3442 //core: render an avatar, select
3543 .use('avatar', require('./apis/avatar')(sbot))
3644 .use('identitySelect', require('./apis/identity-select')(sbot))
3745 //called by preview (to clarify who you are mentioning)
46 + .list('preview-confirm')
3847 .use('mentions', require('./apis/mentions')(sbot))
48 + .list('preview-confirm', 'mentions')
3949 .use('messageLayout', require('./message-layout'))
4050
4151 // .use('messageLink', require('./apis/message-link')(sbot))
4252 // .use('channelLink', require('./apis/channel-link')(sbot))
@@ -68,10 +78,8 @@
6878 .group('gatherings', require('yap-gatherings')(sbot))
6979 .group('tags', require('yap-tags')(sbot))
7080 .setDefault('patch/public')
7181
72- console.log(coherence.dump())
73-
7482 var actions = {
7583 //note: opts is post body
7684
7785 //sets id in cookie

Built with git-ssb-web