Commit f78c06b7b25151ef111ec0f608c6ce257e9db892
update to hyper-nav@2
Dominic Tarr committed on 8/16/2017, 8:06:14 AMParent: 4b1c31ae7dd3ae3fce434f77355fd0bb0ecbbbbd
Files changed
app/html/app.js | changed |
package.json | changed |
app/html/app.js | ||
---|---|---|
@@ -27,9 +27,9 @@ | ||
27 | 27 | h('nav', [ |
28 | 28 | h('div.back', { 'ev-click': nav.back }, '←'), |
29 | 29 | h('div', { 'ev-click': () => nav.push({page:'home'}) }, 'Home') |
30 | 30 | ]), |
31 | - h('h1', computed(nav.last, e => e.element.title)), | |
31 | + h('h1', computed(nav.location, e => e.element.title)), | |
32 | 32 | ]) |
33 | 33 | }) |
34 | 34 | |
35 | 35 | return nest({ |
package.json | ||
---|---|---|
@@ -21,9 +21,9 @@ | ||
21 | 21 | "depject": "^4.1.1", |
22 | 22 | "depnest": "^1.3.0", |
23 | 23 | "electron-default-menu": "^1.0.1", |
24 | 24 | "electron-window-state": "^4.1.1", |
25 | - "hyper-nav": "^1.0.0", | |
25 | + "hyper-nav": "^2.0.0", | |
26 | 26 | "hypermore": "^2.0.0", |
27 | 27 | "insert-css": "^2.0.0", |
28 | 28 | "libnested": "^1.2.1", |
29 | 29 | "lodash": "^4.17.4", |
Built with git-ssb-web