From 3e5f7132a84867cc2e4a4a46bfdbba24678366eb Mon Sep 17 00:00:00 2001 From: Jeremy Ashkenas Date: Mon, 23 Jan 2012 14:58:28 -0500 Subject: [PATCH] Fixes #886, pass through options.parse when creating a new collection. --- backbone.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backbone.js b/backbone.js index c407e54a..a03e1468 100644 --- a/backbone.js +++ b/backbone.js @@ -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.