Fixing a few typos. Changing all instances of "thennable" to

"thenable". No functional changes.
This commit is contained in:
Sean Hussey 2015-12-17 15:16:55 -05:00
parent 49b97a5e56
commit c1912d2726
10 changed files with 30 additions and 30 deletions

View file

@ -108,7 +108,7 @@ In the example below, we bind an error getter-setter to our previous controller
//controller
var controller = function() {
this.error = m.prop("")
this.users = User.listEven().then(function(users) {
if (users.length == 0) m.route("/add");
}, this.error)
@ -121,7 +121,7 @@ If the controller doesn't already have a success callback to run after a request
//controller
var controller = function() {
this.error = m.prop("")
this.users = User.listEven().then(null, this.error)
}
```
@ -145,7 +145,7 @@ var users = m.request({method: "GET", url: "/user"})
//add one more user to the response
return users.concat({name: "Jane"})
})
function log(value) {
console.log(value)
return value