aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcel <cel@f/6sQ6d2CMxRUhLpspgGIulDxDCwYD7DzFzPNr7u5AU=.ed25519>2017-12-14 13:29:42 -0800
committercel <cel@f/6sQ6d2CMxRUhLpspgGIulDxDCwYD7DzFzPNr7u5AU=.ed25519>2017-12-14 13:29:42 -0800
commitcbebe547ab353a002701bc221c538e9c20340487 (patch)
treeee1899567addea367db8b5125ca02ab13dd7b72e
parent881da5cf2e9fd6f84d104a5bee4a07a78840da8c (diff)
downloadpatchfoo-cbebe547ab353a002701bc221c538e9c20340487.tar.gz
patchfoo-cbebe547ab353a002701bc221c538e9c20340487.zip
whitespace
-rw-r--r--lib/render-msg.js24
1 files changed, 12 insertions, 12 deletions
diff --git a/lib/render-msg.js b/lib/render-msg.js
index adf13bb..cb5ae8a 100644
--- a/lib/render-msg.js
+++ b/lib/render-msg.js
@@ -158,7 +158,7 @@ RenderMsg.prototype.actions = function () {
h('a', {href: this.render.toUrl('/about/' + encodeURIComponent(this.msg.key))}, 'about'), ' '] : '',
/^(ssb_)?chess_/.test(this.c.type) ? [
h('a', {href: this.toUrl(this.msg.key) + '?full',
- title: 'view full game board'}, 'full'), ' '] : '',
+ title: 'view full game board'}, 'full'), ' '] : '',
typeof this.c.text === 'string' ? [
h('a', {href: this.toUrl(this.msg.key) + '?raw=md',
title: 'view markdown source'}, 'md'), ' '] : '',
@@ -689,8 +689,8 @@ RenderMsg.prototype.gitUpdate = function (cb) {
'+ ' + self.c.commits_more + ' more commits') : '',
self.c.tags_more ? h('div',
'+ ' + self.c.tags_more + ' more tags') : '',
- pkgMentionsEl,
- prebuildMentionsEl
+ pkgMentionsEl,
+ prebuildMentionsEl
), cb)
})
}
@@ -755,7 +755,7 @@ RenderMsg.prototype.valueTable = function (val, depth, cb) {
}))
)
} else if (isContent && key === 'type') {
- // TODO: also link to images by type, using links2
+ // TODO: also link to images by type, using links2
var type = val.type
return h('tr',
h('td', h('strong', 'type')),
@@ -1352,9 +1352,9 @@ RenderMsg.prototype.acmeChallengesHttp01 = function (cb) {
'serves ',
hJoin(u.toArray(self.c.challenges).map(function (challenge) {
return h('a', {
- href: 'http://' + challenge.domain +
- '/.well-known/acme-challenge/' + challenge.token,
- title: challenge.keyAuthorization,
+ href: 'http://' + challenge.domain +
+ '/.well-known/acme-challenge/' + challenge.token,
+ title: challenge.keyAuthorization,
}, challenge.domain)
}), ', ', ', and ')
), cb)
@@ -1428,14 +1428,14 @@ RenderMsg.prototype.blog = function (cb) {
self.wrapMini(h('table', h('tr',
h('td',
imgId ? h('img', {
- src: self.render.imageUrl(imgId),
- alt: (imgLink.name || '')
- + (imgLink.size != null ? ' (' + self.render.formatSize(imgLink.size) + ')' : ''),
- width: 180,
+ src: self.render.imageUrl(imgId),
+ alt: (imgLink.name || '')
+ + (imgLink.size != null ? ' (' + self.render.formatSize(imgLink.size) + ')' : ''),
+ width: 180,
}) : 'blog'),
h('td',
blogId ? h('h3', h('a', {href: self.render.toUrl('/markdown/' + blogId)},
- self.c.title || self.msg.key)) : '',
+ self.c.title || self.msg.key)) : '',
self.c.summary || '')
)), cb)
}