[mochikit] Re: callLater and IE

2007-08-22 Thread Jonathan Marshall
% happy with the test patch however as it tests internal behaviour of bind rather than testing binds' interface, however I don't know how to non-intrusively test that bind will work with alert window.print. On Aug 21, 5:00 pm, Arnar Birgisson [EMAIL PROTECTED] wrote: On 8/21/07, Jonathan Marshall

[mochikit] callLater and IE

2007-08-21 Thread Jonathan Marshall
Hi, I'm not sure if this is a bug in Mochikit, or my error. The following do not work in IE 6: script callLater(1, window.print); callLater(2, alert, 'drink beer'); /script yet these do: script function f() { window.print(); } function g() { alert('drink

[mochikit] Re: callLater and IE

2007-08-21 Thread Jonathan Marshall
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)