git ssb

16+

Dominic / patchbay



Tree: 42f61697f3d5a5d9f0a2f62e5cb0b413d756680a

Files: 42f61697f3d5a5d9f0a2f62e5cb0b413d756680a / 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