examples/http -> examples/mailbox

This commit is contained in:
Yoshua Wuyts
2016-05-12 15:44:33 +07:00
parent 1d14f9f26b
commit 94e8073af1
9 changed files with 0 additions and 0 deletions
-14
View File
@@ -1,14 +0,0 @@
const pathname = require('pathname-match')
const choo = require('../../../')
module.exports = function (nav, mailbox) {
return function (params, state, send) {
return choo.view`
<main class="app">
<span>URL: ${pathname(state.location) || '/'}</span>
${nav(params, state, send)}
${mailbox(params, state, send)}
</main>
`
}
}