Skip to content

Commit

Permalink
fixing the parse inconsistency in the original mmanner.
Browse files Browse the repository at this point in the history
  • Loading branch information
jashkenas committed Nov 28, 2012
1 parent a0aabb4 commit 2da7c73
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions backbone.js
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -341,6 +341,7 @@
// triggering a `"change"` event. // triggering a `"change"` event.
fetch: function(options) { fetch: function(options) {
options = options ? _.clone(options) : {}; options = options ? _.clone(options) : {};
if (options.parse === void 0) options.parse = true;
var model = this; var model = this;
var success = options.success; var success = options.success;
options.success = function(resp, status, xhr) { options.success = function(resp, status, xhr) {
Expand Down

0 comments on commit 2da7c73

Please sign in to comment.