git ssb

16+

Dominic / patchbay



Tree: f231b14ed22c7cf47457f3dc2841ebd18965086c

Files: f231b14ed22c7cf47457f3dc2841ebd18965086c / app / html / page / errors.js

480 bytesRaw
1const nest = require('depnest')
2
3exports.gives = nest('app.html.page')
4
5exports.needs = nest({
6 'app.html.scroller': 'first'
7})
8
9exports.create = function (api) {
10 return nest('app.html.page', errorsPage)
11
12 function errorsPage (path) {
13 if (path !== '/errors') return
14
15 var { container, content } = api.app.html.scroller()
16
17 container.id = '/errors'
18 container.classList = ['-errors']
19
20 // add a dummy entry in the list
21
22 return { container, content }
23 }
24}
25
26

Built with git-ssb-web