Fixing a few typos. Changing all instances of "thennable" to
"thenable". No functional changes.
This commit is contained in:
parent
49b97a5e56
commit
c1912d2726
10 changed files with 30 additions and 30 deletions
|
|
@ -165,7 +165,7 @@ m.request({method: "GET", url: "/user/:id", data: {id: 1}})
|
|||
.then(function(user) {
|
||||
if (!user.isAdmin) throw new Error("Sorry, you don't have permissions")
|
||||
})
|
||||
.then(null, error) //handle the application error: bind to a getter-setter for diplaying it on the template
|
||||
.then(null, error) //handle the application error: bind to a getter-setter for displaying it on the template
|
||||
```
|
||||
|
||||
Note that the default promise exception handling semantics can be modified. See the next section.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue