Commit d201581df65c82f8507dd37357a428ad08cb372c
whitespace and add clarifying comment
Charles Lehner committed on 8/2/2016, 3:01:13 AMParent: 0764edcc78e29358a627ab3614462f998cfdc47b
Files changed
modules/git.js | changed |
modules/git.js | ||
---|---|---|
@@ -56,8 +56,9 @@ | ||
56 | 56 | href: '#'+msg.key |
57 | 57 | }, human(msg.value.timestamp)) |
58 | 58 | } |
59 | 59 | |
60 | +// a thead+tbody where the thead only is added when the first row is added | |
60 | 61 | function tableRows(headerRow) { |
61 | 62 | var thead = h('thead'), tbody = h('tbody') |
62 | 63 | var first = true |
63 | 64 | var t = [thead, tbody] |
@@ -235,17 +236,17 @@ | ||
235 | 236 | c.issues ? c.issues : null |
236 | 237 | ) |
237 | 238 | } |
238 | 239 | |
239 | - if (c.type === 'issue') { | |
240 | + if(c.type === 'issue') { | |
240 | 241 | return h('div', |
241 | 242 | h('p', 'opened issue on ', repoLink(c.project)), |
242 | 243 | c.title ? h('h4', c.title) : '', |
243 | 244 | markdown(c) |
244 | 245 | ) |
245 | 246 | } |
246 | 247 | |
247 | - if (c.type === 'pull-request') { | |
248 | + if(c.type === 'pull-request') { | |
248 | 249 | return h('div', |
249 | 250 | h('p', 'opened pull-request ', |
250 | 251 | 'to ', repoLink(c.repo), ':', c.branch, ' ', |
251 | 252 | 'from ', repoLink(c.head_repo), ':', c.head_branch), |
Built with git-ssb-web