git ssb

2+

ev / mvd



Commit 6156b3ef7ebddd045ec3648a267175653bd64c01

wip add backlinks and ssb-fulltext

Ev Bogue committed on 5/24/2018, 10:47:48 PM
Parent: 8778967887283b1aa5eb60fde4c5aad8431fd2e9

Files changed

package-lock.jsonchanged
package.jsonchanged
render.jschanged
package-lock.jsonView
The diff is too large to show. Use a local git client to view these changes.
Old file size: 204637 bytes
New file size: 225774 bytes
package.jsonView
@@ -35,13 +35,15 @@
3535 "rc": "^1.2.7",
3636 "scuttlebot": "^11.3.0",
3737 "simple-mime": "^0.1.0",
3838 "split-buffer": "^1.0.0",
39 + "ssb-backlinks": "^0.7.1",
3940 "ssb-blobs": "^1.1.5",
4041 "ssb-client": "^4.5.7",
4142 "ssb-ebt": "^5.1.5",
4243 "ssb-feed": "^2.3.0",
4344 "ssb-friends": "^2.4.0",
45 + "ssb-fulltext": "^1.0.1",
4446 "ssb-keys": "^7.0.16",
4547 "ssb-links": "^3.0.3",
4648 "ssb-markdown": "^3.6.0",
4749 "ssb-ooo": "^1.0.9",
render.jsView
@@ -15,9 +15,8 @@
1515
1616 var message = h('div.message')
1717
1818 if (msg.value.content.type == 'post') {
19-
2019 reply.type = 'post'
2120 reply.branch = msg.key
2221
2322 if (msg.value.content.root)
@@ -56,11 +55,12 @@
5655 edit.original = msg.value.content.original
5756 })
5857 )
5958 var buttons = h('div.buttons')
60-
6159 buttons.appendChild(h('button.btn', 'Reply', {
6260 onclick: function () {
61 + //fallback = message.lastElementChild
62 + //console.log(fallback)
6363 var compose = composer(reply)
6464 message.replaceChild(compose, message.lastElementChild)
6565 }
6666 }))

Built with git-ssb-web