git ssb

30+

cel / git-ssb-web



Commit d5e0970d64c9af2207d041e9b6c2196ce7ec2fe9

Work around problem with async markdown

Charles Lehner committed on 3/27/2016, 4:57:44 PM
Parent: f856a88ddc79a7ba60cbc42fa9ea382d5c05efbb

Files changed

index.jschanged
index.jsView
@@ -1024,9 +1024,9 @@
10241024 readOnce(function (cb) {
10251025 pull(obj.read, pull.collect(function (err, bufs) {
10261026 if (err) return cb(err)
10271027 var buf = Buffer.concat(bufs, obj.length)
1028- markdown(buf.toString(), repo, cb)
1028+ cb(null, markdown(buf.toString(), repo))
10291029 }))
10301030 })
10311031 : cat([
10321032 pull.once('<pre>'),

Built with git-ssb-web