Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Mark a TODO for change tracking

  • Loading branch information...
commit 9c118856e7eea599b1660b9a8086b4d0d97a4290 1 parent 4e91550
@bergie authored
Showing with 2 additions and 0 deletions.
  1. +2 −0  src/Entity.js
View
2  src/Entity.js
@@ -193,6 +193,8 @@ VIE.prototype.Entity = function(attrs, opts) {
}, this);
var ret = Backbone.Model.prototype.set.call(this, attrs, options);
if (options && options.ignoreChanges) {
+ // TODO: This will need to be changed to reflect now change tracking mechanisms
+ // in Backbone.js 1.0.0
this.changed = {};
this._previousAttributes = _.clone(this.attributes);
}
Please sign in to comment.
Something went wrong with that request. Please try again.