Commit b21a1cc155a2a9eb28578b4039724c3b15fec207
complete serveRepoTree hyperscript
mix irving committed on 11/10/2016, 9:52:29 AMParent: 04a741b158312598e6aceb27dd497782af7157b8
Files changed
lib/repos/index.js | changed |
lib/repos/index.js | |||
---|---|---|---|
@@ -300,11 +300,9 @@ | |||
300 | 300 … | ]), | |
301 | 301 … | u.when(type === 'Branch', () => renderRepoLatest(req, repo, rev)) | |
302 | 302 … | ]), | |
303 | 303 … | rev ? cat([ | |
304 | - pull.once('<section class="files">'), | ||
305 | - renderRepoTree(req, repo, rev, path), | ||
306 | - pull.once('</section>'), | ||
304 … | + h('section', {class: 'files'}, renderRepoTree(req, repo, rev, path)), | ||
307 | 305 … | this.renderRepoReadme(req, repo, rev, path) | |
308 | 306 … | ]) : this.serveEmptyRepo(req, repo) | |
309 | 307 … | ])) | |
310 | 308 … | } |
Built with git-ssb-web