On Jan 5, 12:24 pm, "Ryan Gahl" <ryan.g...@gmail.com> wrote:
> On Mon, Jan 5, 2009 at 11:23 AM, Ryan Gahl <ryan.g...@gmail.com> wrote:
> > I personally worry more about relying on non-standard behavior (i.e.
> >> function decompilation)
>
> >  Say what?
>
> Oh, do you mean how the $super mechanism enumerates the method names and
> whatnot?

No, `$super` relies on parsing return value of
`Function.prototype.toString` (when extacting argument names - and `
$super` in particular). This is non-standard functionality. Clients
are free to return any function representation (including omitting
argument names) when invoking `toString` on a function object. At
least one browser (Opera mini) does that : )

--
kangax
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Prototype: Core" group.
To post to this group, send email to prototype-core@googlegroups.com
To unsubscribe from this group, send email to 
prototype-core-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/prototype-core?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to