Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Don't extend options and ruin the party for everyone

  • Loading branch information...
commit 23d0ef9ca37ff6091f2fd37b005ebf59ef8b1f7e 1 parent d9bbfa2
@saimonmoore saimonmoore authored
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.