mirror of
https://github.com/jashkenas/backbone.git
synced 2026-01-22 21:38:00 -05:00
Fixes #886, pass through options.parse when creating a new collection.
This commit is contained in:
@@ -447,7 +447,7 @@
|
||||
if (options.comparator) this.comparator = options.comparator;
|
||||
this._reset();
|
||||
this.initialize.apply(this, arguments);
|
||||
if (models) this.reset(models, {silent: true});
|
||||
if (models) this.reset(models, {silent: true, parse: options.parse});
|
||||
};
|
||||
|
||||
// Define the Collection's inheritable methods.
|
||||
|
||||
Reference in New Issue
Block a user