Merge remote-tracking branch 'origin/next' into next
This commit is contained in:
commit
e48265dec8
2 changed files with 2 additions and 2 deletions
|
|
@ -1,4 +1,4 @@
|
|||
[](http://js.org)
|
||||
[](http://mithril.js.org/)
|
||||
[](https://gitter.im/lhorie/mithril.js?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
|
||||
[](https://travis-ci.org/lhorie/mithril.js)
|
||||
|
||||
|
|
|
|||
|
|
@ -535,7 +535,7 @@ where:
|
|||
demo.view = function(ctrl) {
|
||||
return m("div", [
|
||||
//in the first redraw, there's no user, so ensure we don't throw an error
|
||||
ctrl.user ? ctrl.user.name : "no user"
|
||||
ctrl.user() ? ctrl.user().name : "no user"
|
||||
])
|
||||
}
|
||||
```
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue