Merge pull request #1078 from epidemian/patch-2
Update mithril.request.md
This commit is contained in:
commit
129e0baf43
1 changed files with 1 additions and 1 deletions
|
|
@ -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