Skip to content

Commit

Permalink
- do not update superclass constructor if its a very "raw" class
Browse files Browse the repository at this point in the history
  • Loading branch information
Nickolay Platonov committed Nov 16, 2010
1 parent 704151d commit 78fd706
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/JooseX/Bridge/Ext.js
Expand Up @@ -63,7 +63,7 @@ Class('JooseX.Bridge.Ext', {

this.c.superclass = superProto

if (superProto.constructor != superClass) superProto.constructor = superClass
if (superProto.constructor != superClass && superProto.constructor != Object) superProto.constructor = superClass
}

},
Expand Down

0 comments on commit 78fd706

Please sign in to comment.