Skip to content

Commit

Permalink
Fix jashkenas#2094 - Update TODO example with new success callback si…
Browse files Browse the repository at this point in the history
…gnature
  • Loading branch information
caseywebdev committed Jan 9, 2013
1 parent ba8f180 commit 6198ee8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/backbone-localstorage.js
Original file line number Diff line number Diff line change
Expand Up @@ -110,9 +110,9 @@ Backbone.LocalStorage.sync = window.Store.sync = Backbone.localSync = function(m
}

if (resp) {
options.success(resp);
options.success(model, resp, options);
} else {
options.error("Record not found");
options.error(model, "Record not found", options);
}
};

Expand Down

0 comments on commit 6198ee8

Please sign in to comment.