From a60fe9c2de9b4d55876e7c824e8e967c8efff94b Mon Sep 17 00:00:00 2001 From: Mike Gerwitz Date: Thu, 16 Dec 2010 23:51:22 -0500 Subject: [PATCH] Class extend() now implements propCopy's performDefault (see previous commit) --- lib/class.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lib/class.js b/lib/class.js index 26cd973..716b6d8 100644 --- a/lib/class.js +++ b/lib/class.js @@ -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 ); }, } );