Hi, Within my script I'd like to get a list of methods defined within in a class created with Class.create().
If I do: var c = new MyShinyNewClass() console.log(c) I get a nice breakdown of variables and methods, and firebug differentiates the vars from the functions. If I do: for (m in c) console.log(m) I get a nice list of all variables and methods, but typeof m always returns 'string'. Given that firebug can differentiate between a variable and function, is there any way for me to do the same? Thanks. -- 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.
