git ssb

16+

Dominic / patchbay



Tree: 5b17ba2a85122774945850eeb89c50eaded5c446

Files: 5b17ba2a85122774945850eeb89c50eaded5c446 / app / html / settings / zz-version.js

510 bytesRaw
1const nest = require('depnest')
2const { h } = require('mutant')
3const { version } = require('../../../package.json')
4
5exports.gives = nest({
6 'app.html.settings': true
7})
8
9exports.create = function (api) {
10 return nest({
11 'app.html.settings': versionsData
12 })
13
14 function versionsData () {
15 return {
16 title: 'Installer version',
17 body: h('Version', [
18 h('p', [
19 h('code', process.platform),
20 ' version ',
21 h('code', version)
22 ])
23 ])
24 }
25 }
26}
27

Built with git-ssb-web