Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Pass in regular object to demonstrate it can be done.

  • Loading branch information...
commit 3cd8e06f199cb605783665c443caee8b7ff7b719 1 parent 450e313
@patrickberkeley authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  index.html
View
2  index.html
@@ -355,7 +355,7 @@ <h1 class='fragment'>Give me something better.</h1>
function disableInputs(){ /* Disable form, return promise */ }
function postData(){ return $.post('api/'); }
- $.when(showSpinner, disableInputs, postData)
+ $.when(showSpinner, disableInputs, postData, {random: 'obj'})
.done(function() { /* Clear form */ })
.fail(function() { /* Don't clear form, show error */ })
.always(function() { /* Hide spinner, re-enable form */ });
Please sign in to comment.
Something went wrong with that request. Please try again.