git ssb

1+

dinoworm 🐛 / catstack



Commit b3e2feb620b8617e72d7d07a600aea220c8b0992

fix hyps html usage

Michael Williams committed on 3/7/2017, 2:07:08 AM
Parent: b46e0b142a1031b865be6f4aa908bb84a8354dc2

Files changed

app/html.jschanged
app/router.jschanged
app/html.jsView
@@ -3,9 +3,9 @@
33 document = require('global/document')
44 }
55
66 const nest = require('depnest')
7-const create = require('hyps/h')
7 +const create = require('hyps/createElement')
88 const update = require('morphdom')
99 const H = require('@skatejs/val')
1010 const Hx = require('hyperx')
1111
app/router.jsView
@@ -3,12 +3,12 @@
33 module.exports = {
44 router: require('inu-router').modules.router,
55 routeNotFound: {
66 gives: nest('inu.route'),
7- needs: nest('html.create', 'first'),
7 + needs: nest('html.hx', 'first'),
88 create: (api) => nest('inu.route', () => [
99 ['/404', (model) => {
10- return api.html.create`
10 + return api.html.hx`
1111 <div>page not found</div>
1212 `
1313 }]
1414 ])

Built with git-ssb-web