git ssb

1+

ev / minbay



Commit 6838fdf4fb2e310ec1cb2a003ef7a7c4ee646fb8

remove unused nav items

Ev Bogue committed on 1/12/2018, 2:16:10 AM
Parent: 9d324089699bd41470cca9e5db2d0cfb8f14bc3e

Files changed

index.jschanged
index.jsView
@@ -2,14 +2,12 @@
22 var path = require('path')
33 var http = require('http')
44
55 require('depject')([
6- //require('./modules'),
76 require('patchapp-threads'),
8- {rawMessages: require('patchless/modules/raw')},
97 {
108 id: require('patchidentity'),
11- key: require('./modules/key'),
9 + key: require('patchapp-key'),
1210 nav: require('patchnav-less'),
1311 compose: require('patchcompose'),
1412 names: require('patchavatar-names'),
1513 avatarViews: require('patchavatar-names/view'),
@@ -49,20 +47,10 @@
4947 h('div.internal',
5048 h('li', h('a.Avatar', {href: id}, api.avatar.image(id))),
5149 h('li', h('a', {href: id}, api.avatar.name(id))),
5250 h('li', h('a', {href: 'public'}, 'Public')),
53- //h('li', h('a', {href: '#mentions'}, 'Mentions')),
5451 h('li', h('a', {href: 'private'}, 'Private')),
55- h('li', h('a', {href: 'compose'}, 'Compose')),
56- h('li', h('a', {href: 'key'}, 'Key'))/*,
57- h('form.search', { onsubmit: function (e) {
58- //if (err) throw err
59- window.location.hash = '?' + search.value
60- e.preventDefault()
61- }},
62- search,
63- h('button.btn.btn-primary.btn-search', 'Search')
64- )*/
52 + h('li', h('a', {href: 'key'}, 'Key'))
6553 )
6654 ))
6755 document.body.appendChild(api.nav.screen())
6856 return function () {}

Built with git-ssb-web