git ssb

16+

Dominic / patchbay



Tree: 199cb9733ad243e90145916e681fb93b45ad0ea6

Files: 199cb9733ad243e90145916e681fb93b45ad0ea6 / 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