[Pkg-javascript-commits] [backbone] 177/281: Fixes #822, change comment to avoid 'confusing' reference to super
Jonas Smedegaard
js at moszumanska.debian.org
Sat May 3 17:02:09 UTC 2014
This is an automated email from the git hooks/post-receive script.
js pushed a commit to tag 0.9.0
in repository backbone.
commit 88e6b32b510503b5ccfc830ac487e834ffa0d324
Author: Jeremy Ashkenas <jashkenas at gmail.com>
Date: Thu Jan 12 16:18:15 2012 -0500
Fixes #822, change comment to avoid 'confusing' reference to super
---
backbone.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/backbone.js b/backbone.js
index 6e9099b..fc58dd1 100644
--- a/backbone.js
+++ b/backbone.js
@@ -1088,7 +1088,7 @@
// The constructor function for the new subclass is either defined by you
// (the "constructor" property in your `extend` definition), or defaulted
- // by us to simply call `super()`.
+ // by us to simply call the parent's constructor.
if (protoProps && protoProps.hasOwnProperty('constructor')) {
child = protoProps.constructor;
} else {
--
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