Skip to content

Commit

Permalink
$.when logic correction
Browse files Browse the repository at this point in the history
  • Loading branch information
alexmcpherson committed Jun 25, 2012
1 parent 288928a commit 2bfbb5b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion index.html
Expand Up @@ -288,7 +288,9 @@ <h4 class='fragment'>Deferreds!</h4>

ContactPage.prototype = {
init: function() {<span class='fragment'>
return $.Deferred().resolve();</span>
return $.Deferred().resolve();
//A deferred not neccessary here, $.when resolved immediately for any type
</span>
}
}
</span>
Expand Down

0 comments on commit 2bfbb5b

Please sign in to comment.