git ssb

16+

Dominic / patchbay



Tree: a90a1c43ce789756570fb5b3b4601ddd6614b091

Files: a90a1c43ce789756570fb5b3b4601ddd6614b091 / 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