Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix typo
  • Loading branch information
jasondavies committed Mar 9, 2011
1 parent 83250a5 commit ee2ec92
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backbone.js
Expand Up @@ -982,7 +982,7 @@

// Ensure that we have the appropriate request data.
if (!params.data && model && (method == 'create' || method == 'update')) {
params.contentType = 'application/json',
params.contentType = 'application/json';
params.data = JSON.stringify(model.toJSON());
}

Expand Down

0 comments on commit ee2ec92

Please sign in to comment.