Houston, new Prototype user has a problem:
var SimpleClass = Class.create({})
var xxx = new SimpleClass();
xxx.constructor == SimpleClass // i got true
xxx.constructor // i got klass()
So what I am looking is: how to get the constructor name? the same is
with Prototype's superclass and subclasses.. I tried to google it but
with no success.
Any hint? What is about that "klass()" thing?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Prototype & script.aculo.us" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/prototype-scriptaculous?hl=en
-~----------~----~----~----~------~----~------~--~---