1
0
Fork 0

Class extend() now implements propCopy's performDefault (see previous commit)

closure/master
Mike Gerwitz 2010-12-16 23:51:22 -05:00
parent 6b6ffe0134
commit a60fe9c2de
1 changed files with 1 additions and 3 deletions

View File

@ -99,9 +99,7 @@ var extend = ( function( extending )
property: function( name, value ) property: function( name, value )
{ {
properties[ name ] = value; properties[ name ] = value;
this.performDefault( name, value );
// also add to prototype
prototype[ name ] = value;
}, },
} ); } );