[Prototype-core] Feature suggestion: getClassName

2008-02-21 Thread GarethAtFlignet
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:

[Prototype-core] Re: Feature suggestion: getClassName

2008-02-21 Thread Tobie Langel
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