git ssb

16+

Dominic / patchbay



Commit 1deb6b09103b7c70e6133089bdf662686342dfc2

Fix linter conformance issues

Christian Bundy committed on 8/22/2018, 3:34:39 AM
Parent: af7e4129360b36c2646ff7a736b53c73d5709ee6

Files changed

contact/html/relationships.jschanged
message/html/compose.jschanged
message/html/render/about.jschanged
contact/html/relationships.jsView
@@ -61,10 +61,10 @@
6161 const ImBlockingThem = computed(blockers, blockers => blockers.includes(myId))
6262
6363 return h('Relationships', [
6464 h('header', 'Relationships'),
65- id !== myId ?
66- h('div.your-status', [
65 + id !== myId
66 + ? h('div.your-status', [
6767 h('header', 'Your status'),
6868 h('section -friendship', [
6969 when(ImFollowing.sync,
7070 when(IFollowThem,
@@ -89,9 +89,9 @@
8989 ])
9090 ])
9191 ])
9292 ])
93- : undefined,
93 + : undefined,
9494 computed(blockers, blockers => {
9595 if (blockers.length === 0) return ''
9696
9797 return h('div.blockers', [
message/html/compose.jsView
@@ -61,9 +61,9 @@
6161 },
6262 'ev-focus': send(channelInputFocused.set, true),
6363 placeholder: '#channel (optional)',
6464 value: computed(meta.channel, ch => ch ? '#' + ch : null),
65- disabled: meta.channel ? true : undefined,
65 + disabled: meta.channel ? true : undefined,
6666 title: meta.channel ? 'Reply is in same channel as original message' : undefined
6767 })
6868
6969 var draftPerstTimeout = null
message/html/render/about.jsView
@@ -1,8 +1,8 @@
11 const nest = require('depnest')
22 const extend = require('xtend')
33 const ref = require('ssb-ref')
4-const { h, when } = require('mutant')
4 +const { h } = require('mutant')
55
66 exports.gives = nest('message.html.render')
77
88 exports.needs = nest({
@@ -44,9 +44,9 @@
4444
4545 const metaData = [
4646 name ? h('div', [ h('strong', 'Name: '), name ]) : undefined,
4747 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
4949 ]
5050
5151 if (!ref.isFeed(about)) {
5252 return [

Built with git-ssb-web