Thanks Til,
Or even better:
proto.func = function() {
superclass.func.call(this);
return 'In derived class';
}
In this way, we don't need to know the name of the superclass.
If the documentation were a wiki, I would have updated
http://old.qooxdoo.org/documentation/inheritance
Til Schneider schrieb:
>> proto.func = function() {
>> // How can I call here BaseClass.func()?
>> return 'In derived class';
>> }
>>
>
> BaseClass.func.call(this, param1, param2);
>
>
______________________________________________
LLama Gratis a cualquier PC del Mundo.
Llamadas a fijos y móviles desde 1 céntimo por minuto.
http://es.voice.yahoo.com
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel