mirror of
https://github.com/jashkenas/backbone.git
synced 2026-04-30 03:00:06 -04:00
Issue #132 ... initial _changed after new with attributes.
This commit is contained in:
@@ -121,6 +121,7 @@
|
||||
this._escapedAttributes = {};
|
||||
this.cid = _.uniqueId('c');
|
||||
this.set(attributes, {silent : true});
|
||||
this._changed = false;
|
||||
this._previousAttributes = _.clone(this.attributes);
|
||||
if (options && options.collection) this.collection = options.collection;
|
||||
this.initialize(attributes, options);
|
||||
|
||||
Reference in New Issue
Block a user