On 8/21/07, Arnar Birgisson <[EMAIL PROTECTED]> wrote:
>
>
> There *is* a workaround in MochiKit, applied in Base.bind by wrapping
> the function in Base._wrapDumbFunction. Maybe the condition that is
> used to check if that workaround should be applied needs revision.
> Currently it's
> if (typeof(func) == "function" && typeof(func.apply) == "undefined") {
>
> I don't have time atm or the proper debugging tools to test this in
> IE, but if there are no volunteers I'll have a look sometime.
>
> Arnar
Changing that to:
if (typeof(func) == "object" && typeof( func.apply) == "undefined") {
works for me.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"MochiKit" 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/mochikit?hl=en
-~----------~----~----~----~------~----~------~--~---