Skip to content
Browse files

Don't extend options and ruin the party for everyone

  • Loading branch information...
1 parent d9bbfa2 commit 23d0ef9ca37ff6091f2fd37b005ebf59ef8b1f7e @saimonmoore saimonmoore committed May 12, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 backbone.subset.js
View
2 backbone.subset.js
@@ -89,7 +89,7 @@
// xored ids are the ones added/removed
xored_ids = xor(ids, _.pluck(models, 'id'));
- this.parent().reset(parent_models, _.extend(options, {silent: true}));
+ this.parent().reset(parent_models, _.extend({silent: true}, options));
this.parent().trigger('reset', this, {model_ids: xored_ids});
return this;

1 comment on commit 23d0ef9

@masylum
Owner

oops! my fault!

Please sign in to comment.
Something went wrong with that request. Please try again.