diff --git a/README.md b/README.md index c04e8a82..6919baee 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -[![JS.ORG](https://img.shields.io/badge/js.org-mithril-ffb400.svg?style=flat-square)](http://js.org) +[![JS.ORG](https://img.shields.io/badge/js.org-mithril-ffb400.svg?style=flat-square)](http://mithril.js.org/) [![Join the chat at https://gitter.im/lhorie/mithril.js](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/lhorie/mithril.js?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) [![Build Status](https://travis-ci.org/lhorie/mithril.js.svg?branch=master)](https://travis-ci.org/lhorie/mithril.js) diff --git a/docs/mithril.request.md b/docs/mithril.request.md index fb29d28e..b6d071c7 100644 --- a/docs/mithril.request.md +++ b/docs/mithril.request.md @@ -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" ]) } ```