mirror of
https://github.com/jashkenas/backbone.git
synced 2026-04-08 03:00:26 -04:00
fixing comment.
This commit is contained in:
@@ -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;
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user