git ssb

1+

punkmonk.termux / mvd



forked from ev / mvd

Commit d741590f2a7c0c901ffcbac0294a4a802688aaee

add compose route

Ev Bogue committed on 5/25/2018, 7:07:14 PM
Parent: cbb08a8e0b43cb3717631113900dd7706523d68a

Files changed

views.jschanged
views.jsView
@@ -68,8 +68,19 @@
6868 )
6969 })
7070 })
7171 }
72+
73+ else if (src == 'compose') {
74+ var screen = document.getElementById('screen')
75+
76+ var opts = {}
77+ opts.type = 'post'
78+
79+ var content = h('div.content', h('div.message', compose(opts)))
80+
81+ screen.appendChild(hyperscroll(content))
82+ }
7283 else if (src == 'about') {
7384
7485 var screen = document.getElementById('screen')
7586

Built with git-ssb-web