Fixes #822, change comment to avoid 'confusing' reference to super

This commit is contained in:
Jeremy Ashkenas
2012-01-12 16:18:15 -05:00
parent 4d29dfc388
commit 88e6b32b51

View File

@@ -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 {