git ssb

16+

Dominic / patchbay



Commit d201581df65c82f8507dd37357a428ad08cb372c

whitespace and add clarifying comment

Charles Lehner committed on 8/2/2016, 3:01:13 AM
Parent: 0764edcc78e29358a627ab3614462f998cfdc47b

Files changed

modules/git.jschanged
modules/git.jsView
@@ -56,8 +56,9 @@
5656 href: '#'+msg.key
5757 }, human(msg.value.timestamp))
5858 }
5959
60+// a thead+tbody where the thead only is added when the first row is added
6061 function tableRows(headerRow) {
6162 var thead = h('thead'), tbody = h('tbody')
6263 var first = true
6364 var t = [thead, tbody]
@@ -235,17 +236,17 @@
235236 c.issues ? c.issues : null
236237 )
237238 }
238239
239- if (c.type === 'issue') {
240+ if(c.type === 'issue') {
240241 return h('div',
241242 h('p', 'opened issue on ', repoLink(c.project)),
242243 c.title ? h('h4', c.title) : '',
243244 markdown(c)
244245 )
245246 }
246247
247- if (c.type === 'pull-request') {
248+ if(c.type === 'pull-request') {
248249 return h('div',
249250 h('p', 'opened pull-request ',
250251 'to ', repoLink(c.repo), ':', c.branch, ' ',
251252 'from ', repoLink(c.head_repo), ':', c.head_branch),

Built with git-ssb-web