Skip to content

Commit

Permalink
Typo fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
dandv committed Oct 27, 2014
1 parent 698aaa1 commit eeb430b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions guides/deferred.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,14 @@ dfd.fail(function(bar) {
console.log('Rejected!');
});
// Add a callback that fires whether the
// Deferred is resolve or rejected.
// Deferred is resolved or rejected.
dfd.always(function(obj) {
console.log('Apathetic!');
});

var dfd2 = new can.Deferred();
// Add done and fail callbacks:
dfd2.then(functon(foo) {
dfd2.then(function(foo) {
console.log('Also resolved.');
}, function(bar) {
console.log('Also rejected.');
Expand Down

0 comments on commit eeb430b

Please sign in to comment.