1
0
Fork 0

Class.extend() should not be part of the prototype (we're extending the class, not an object instance)

closure/master
Mike Gerwitz 2010-11-10 21:05:52 -05:00
parent 7475fa11c6
commit c42598c47b
1 changed files with 1 additions and 1 deletions

View File

@ -113,7 +113,7 @@ exports.extend = function( base )
*
* @return {Object} extended class
*/
Object.defineProperty( Class.prototype, 'extend',
Object.defineProperty( Class, 'extend',
{
value: function( props )
{