Commit d4a98043304f590b79f4dbe3398066294b7dba14
whitespace
Charles Lehner committed on 8/27/2016, 8:41:00 AMParent: 8212081d31da69a5c2c3a831487c043c95a69768
Files changed
modules/git.js | changed |
modules/git.js | ||
---|---|---|
@@ -225,16 +225,18 @@ | ||
225 | 225 | shortRefName(ref) + ': ', |
226 | 226 | rev ? h('code', rev) : h('em', 'deleted')) |
227 | 227 | })) : null, |
228 | 228 | Array.isArray(c.commits) ? [ |
229 | - h('ul', c.commits.map(function (commit) { | |
230 | - return h('li', | |
231 | - typeof commit.sha1 === 'string' ? | |
232 | - [h('code', commit.sha1.substr(0, 8)), ' '] : null, | |
233 | - commit.title ? | |
234 | - h('q', commit.title) : null) | |
235 | - }), | |
236 | - c.commits_more ? h('li', '+ ' + c.commits_more + ' more') : null) | |
229 | + h('ul', | |
230 | + c.commits.map(function (commit) { | |
231 | + return h('li', | |
232 | + typeof commit.sha1 === 'string' ? | |
233 | + [h('code', commit.sha1.substr(0, 8)), ' '] : null, | |
234 | + commit.title ? | |
235 | + h('q', commit.title) : null) | |
236 | + }), | |
237 | + c.commits_more > 0 ? | |
238 | + h('li', '+ ', c.commits_more, ' more') : null) | |
237 | 239 | ] : null, |
238 | 240 | Array.isArray(c.issues) ? c.issues.map(function (issue) { |
239 | 241 | if (issue.merged === true) |
240 | 242 | return ['Merged ', message_link(issue.link), ' in ', |
Built with git-ssb-web