Skip to content

Commit

Permalink
call extendProtoOrApply after standard prototype extension
Browse files Browse the repository at this point in the history
  • Loading branch information
lucaong committed Dec 4, 2012
1 parent 939763f commit 86878a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wheels-class.js
Expand Up @@ -39,8 +39,8 @@
}
extend( klass, { _superclass: superclass } );
klass.prototype = proto;
extendProtoOrApply( klass, mixin );
extend( klass.prototype, { constructor: klass, _parent: superclass.prototype } );
extendProtoOrApply( klass, mixin );
return klass;
};

Expand Down

0 comments on commit 86878a2

Please sign in to comment.