Commit 6838fdf4fb2e310ec1cb2a003ef7a7c4ee646fb8
remove unused nav items
Ev Bogue committed on 1/12/2018, 2:16:10 AMParent: 9d324089699bd41470cca9e5db2d0cfb8f14bc3e
Files changed
index.js | changed |
index.js | ||
---|---|---|
@@ -2,14 +2,12 @@ | ||
2 | 2 … | var path = require('path') |
3 | 3 … | var http = require('http') |
4 | 4 … | |
5 | 5 … | require('depject')([ |
6 | - //require('./modules'), | |
7 | 6 … | require('patchapp-threads'), |
8 | - {rawMessages: require('patchless/modules/raw')}, | |
9 | 7 … | { |
10 | 8 … | id: require('patchidentity'), |
11 | - key: require('./modules/key'), | |
9 … | + key: require('patchapp-key'), | |
12 | 10 … | nav: require('patchnav-less'), |
13 | 11 … | compose: require('patchcompose'), |
14 | 12 … | names: require('patchavatar-names'), |
15 | 13 … | avatarViews: require('patchavatar-names/view'), |
@@ -49,20 +47,10 @@ | ||
49 | 47 … | h('div.internal', |
50 | 48 … | h('li', h('a.Avatar', {href: id}, api.avatar.image(id))), |
51 | 49 … | h('li', h('a', {href: id}, api.avatar.name(id))), |
52 | 50 … | h('li', h('a', {href: 'public'}, 'Public')), |
53 | - //h('li', h('a', {href: '#mentions'}, 'Mentions')), | |
54 | 51 … | 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')) | |
65 | 53 … | ) |
66 | 54 … | )) |
67 | 55 … | document.body.appendChild(api.nav.screen()) |
68 | 56 … | return function () {} |
Built with git-ssb-web