fixing comment.

This commit is contained in:
Jeremy Ashkenas
2011-06-29 21:03:27 -04:00
parent 0b74a24b69
commit fa6092be79

View File

@@ -339,8 +339,7 @@
return new this.constructor(this);
},
// A model is new if it has never been saved to the server, and has a negative
// ID.
// A model is new if it has never been saved to the server, and lacks an id.
isNew : function() {
return this.id == null;
},