Commit 889827fd authored by Stefan Penner's avatar Stefan Penner

Merge pull request #76 from machty/patch-1

Minor clarification in README on routes re: propagation
parents 391ae714 41e16515
...@@ -114,8 +114,8 @@ Errors also propagate: ...@@ -114,8 +114,8 @@ Errors also propagate:
getJSON("/posts.json").then(function(posts) { getJSON("/posts.json").then(function(posts) {
}).then(null, function(error) { }).then(null, function(error) {
// even though no error callback was passed to the // since no rejection handler was passed to the
// first `.then`, the error propagates // first `.then`, the error propagates.
}); });
``` ```
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment