Commit 1deb6b09103b7c70e6133089bdf662686342dfc2
Fix linter conformance issues
Christian Bundy committed on 8/22/2018, 3:34:39 AMParent: af7e4129360b36c2646ff7a736b53c73d5709ee6
Files changed
contact/html/relationships.js | changed |
message/html/compose.js | changed |
message/html/render/about.js | changed |
contact/html/relationships.js | ||
---|---|---|
@@ -61,10 +61,10 @@ | ||
61 | 61 … | const ImBlockingThem = computed(blockers, blockers => blockers.includes(myId)) |
62 | 62 … | |
63 | 63 … | return h('Relationships', [ |
64 | 64 … | h('header', 'Relationships'), |
65 | - id !== myId ? | |
66 | - h('div.your-status', [ | |
65 … | + id !== myId | |
66 … | + ? h('div.your-status', [ | |
67 | 67 … | h('header', 'Your status'), |
68 | 68 … | h('section -friendship', [ |
69 | 69 … | when(ImFollowing.sync, |
70 | 70 … | when(IFollowThem, |
@@ -89,9 +89,9 @@ | ||
89 | 89 … | ]) |
90 | 90 … | ]) |
91 | 91 … | ]) |
92 | 92 … | ]) |
93 | - : undefined, | |
93 … | + : undefined, | |
94 | 94 … | computed(blockers, blockers => { |
95 | 95 … | if (blockers.length === 0) return '' |
96 | 96 … | |
97 | 97 … | return h('div.blockers', [ |
message/html/compose.js | ||
---|---|---|
@@ -61,9 +61,9 @@ | ||
61 | 61 … | }, |
62 | 62 … | 'ev-focus': send(channelInputFocused.set, true), |
63 | 63 … | placeholder: '#channel (optional)', |
64 | 64 … | value: computed(meta.channel, ch => ch ? '#' + ch : null), |
65 | - disabled: meta.channel ? true : undefined, | |
65 … | + disabled: meta.channel ? true : undefined, | |
66 | 66 … | title: meta.channel ? 'Reply is in same channel as original message' : undefined |
67 | 67 … | }) |
68 | 68 … | |
69 | 69 … | var draftPerstTimeout = null |
message/html/render/about.js | ||
---|---|---|
@@ -1,8 +1,8 @@ | ||
1 | 1 … | const nest = require('depnest') |
2 | 2 … | const extend = require('xtend') |
3 | 3 … | const ref = require('ssb-ref') |
4 | -const { h, when } = require('mutant') | |
4 … | +const { h } = require('mutant') | |
5 | 5 … | |
6 | 6 … | exports.gives = nest('message.html.render') |
7 | 7 … | |
8 | 8 … | exports.needs = nest({ |
@@ -44,9 +44,9 @@ | ||
44 | 44 … | |
45 | 45 … | const metaData = [ |
46 | 46 … | name ? h('div', [ h('strong', 'Name: '), name ]) : undefined, |
47 | 47 … | description ? h('div', [ h('strong', 'Description: '), description ]) : undefined, |
48 | - image ? h('img', { src: api.blob.sync.url(image), style: { 'margin-top': '.5rem' } }): undefined | |
48 … | + image ? h('img', { src: api.blob.sync.url(image), style: { 'margin-top': '.5rem' } }) : undefined | |
49 | 49 … | ] |
50 | 50 … | |
51 | 51 … | if (!ref.isFeed(about)) { |
52 | 52 … | return [ |
Built with git-ssb-web