Skip to content

Commit

Permalink
Ajax.processData is left as the default if emulateJSON is set to true
Browse files Browse the repository at this point in the history
  • Loading branch information
devinhunt committed Jul 27, 2011
1 parent 22456de commit b85c116
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backbone.js
Expand Up @@ -1070,7 +1070,7 @@
}

// Don't process data on a non-GET request.
if (params.type !== 'GET') {
if (params.type !== 'GET' && ! Backbone.emulateJSON) {
params.processData = false;
}

Expand Down

0 comments on commit b85c116

Please sign in to comment.