Skip to content

Commit

Permalink
modified: Storage tests
Browse files Browse the repository at this point in the history
  • Loading branch information
emaphp committed Apr 6, 2015
1 parent c47688d commit 527bc31
Show file tree
Hide file tree
Showing 3 changed files with 384 additions and 2 deletions.
1 change: 0 additions & 1 deletion dist/backbone.async.js
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,6 @@
self.trigger('after:create', data.model, data.response, data.options, true);
}

self.collection.add(data.model);
self.listenToOnce(data.model, 'after:destroy', function(model, options, success) {
if (success) {
self.collection.remove(model, _.extend({silent: true}, options));
Expand Down
2 changes: 1 addition & 1 deletion dist/backbone.async.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 527bc31

Please sign in to comment.