[Pkg-javascript-commits] [backbone] 198/211: fixing comment.
Jonas Smedegaard
js at moszumanska.debian.org
Sat May 3 17:00:24 UTC 2014
This is an automated email from the git hooks/post-receive script.
js pushed a commit to tag 0.5.0
in repository backbone.
commit fa6092be79223ee2297b1a9046d0d0319fa470a2
Author: Jeremy Ashkenas <jashkenas at gmail.com>
Date: Wed Jun 29 21:03:27 2011 -0400
fixing comment.
---
backbone.js | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/backbone.js b/backbone.js
index 97c7ebb..f7c203f 100644
--- a/backbone.js
+++ b/backbone.js
@@ -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;
},
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/backbone.git
More information about the Pkg-javascript-commits
mailing list