I tried the following, but both statements print. I need the subclass' constructor executed only.
dojo.declare("Parent", null, {
constructor: function() {console.debug("parent");}
});
dojo.declare("Child", Parent, {
constructor: function() {console.debug("child");}
});
new Child();
--
http://juzzam.org
_______________________________________________
FAQ:
http://dojotoolkit.org/support/faqBook:
http://dojotoolkit.org/docs/bookForums:
http://dojotoolkit.org/forumDojo-interest@...
http://mail.dojotoolkit.org/mailman/listinfo/dojo-interest