Files: 3ac3f63409b2f6e177034de5ad8483d25749626a / localhost / engine.js
436 bytesRaw
1 | const {pull} = require('pull-stream') |
2 | const h = require('hyperscript') |
3 | |
4 | const engine = { |
5 | init: () => ({model: {}}), |
6 | update: (model, action) => {}, |
7 | view: (model, dispatch) => { |
8 | return h('body', [ |
9 | h('h1', 'localhost'), |
10 | h('a', { |
11 | href: '/web/%25wvRo2yjx7hMK%2Fst8OzScCmadfeNLeotjPsKyR5vGon0%3D.sha256/index.html' |
12 | }, 'MVD') |
13 | ]) |
14 | }, |
15 | run: (lastModel, effect, sources) => {} |
16 | } |
17 | |
18 | module.exports = engine |
19 |
Built with git-ssb-web