Fixes #886, pass through options.parse when creating a new collection.

This commit is contained in:
Jeremy Ashkenas
2012-01-23 14:58:28 -05:00
parent 49804535dc
commit 3e5f7132a8

View File

@@ -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.