I think this will solve itself. If I understood the announcements on
Squirrelfish correctly, they are trying to inline small calls. So that
a call to emptyFunction would become a noop.



On 24 Dez. 2008, 21:35, npepinpe <n.pepi...@gmail.com> wrote:
> The Prototype.emptyFunction is just a dummy function; it doesn't
> actually do anything.
>
> emptyFunction: function() {}
>
> It's often used as a default option for callbacks and such, so that
> you can still call the callback even if the user hasn't specified
> anything. It shouldn't affect running time as it adds very minimal
> overhead.
>
> The only way I can see how to circumvent this would be a massive patch
> to Prototype to remove all references to Prototype.emptyFunction and
> instead have type checks before function calls which might be the
> emptyFunction. But maybe someone has a better idea.

--~--~---------~--~----~------------~-------~--~----~
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 prototype-scriptaculous@googlegroups.com
To unsubscribe from this group, send email to 
prototype-scriptaculous+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to