As prototype provides a convenient OO approach to javascript coding
through its object inheritance model it would be 'really' useful if
you could query the name of the current class through a getClassName()
method or similar like you can in many other languages.
There is a post at:
Hi,
That unfortunately doesn't solve the problem for namespaced classes:
var Vehicles = {};
Class.create('Vehicle.Cars', {});
Best,
Tobie
On Feb 21, 12:10 pm, GarethAtFlignet [EMAIL PROTECTED]
wrote:
As prototype provides a convenient OO approach to javascript coding
through its object