Class extend() now implements propCopy's performDefault (see previous commit)
parent
6b6ffe0134
commit
a60fe9c2de
|
@ -99,9 +99,7 @@ var extend = ( function( extending )
|
|||
property: function( name, value )
|
||||
{
|
||||
properties[ name ] = value;
|
||||
|
||||
// also add to prototype
|
||||
prototype[ name ] = value;
|
||||
this.performDefault( name, value );
|
||||
},
|
||||
} );
|
||||
|
||||
|
|
Loading…
Reference in New Issue