From d3c9a9b0d5d6a8e8e2cc0190bf00a8d5c9dfbef7 Mon Sep 17 00:00:00 2001 From: Jeremy Ashkenas Date: Tue, 5 Jul 2011 08:58:13 -0400 Subject: [PATCH] fixes #459, inconsistency with constructor/initialize. --- backbone.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backbone.js b/backbone.js index d059d5fb..6a2e5189 100644 --- a/backbone.js +++ b/backbone.js @@ -143,7 +143,7 @@ this._changed = false; this._previousAttributes = _.clone(this.attributes); if (options && options.collection) this.collection = options.collection; - this.initialize.apply(this, arguments); + this.initialize(attributes, options); }; // Attach all inheritable methods to the Model prototype.