Class.extend() should not be part of the prototype (we're extending the class, not an object instance)
parent
7475fa11c6
commit
c42598c47b
|
@ -113,7 +113,7 @@ exports.extend = function( base )
|
|||
*
|
||||
* @return {Object} extended class
|
||||
*/
|
||||
Object.defineProperty( Class.prototype, 'extend',
|
||||
Object.defineProperty( Class, 'extend',
|
||||
{
|
||||
value: function( props )
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue