[jQuery] Re: isFunction change in 1.3 and window.opener

2009-09-02 Thread Matt Kruse
On Sep 2, 2:21 pm, msoliver wrote: > Fair point. What you suggest certainly would be better than no check. > But, it's not a test that openerFunc is actually a function, just that > it exists and has an call property. That seems better to me than the crazy logic in 1.2's isFunction()! Any time

[jQuery] Re: isFunction change in 1.3 and window.opener

2009-09-02 Thread Matt Kruse
On Sep 2, 1:16 pm, msoliver wrote: >         if ($.isFunction(openerFunc)) Why not just: if (openerFunc && openerFunc.call) ? Matt Kruse

[jQuery] Re: isFunction change in 1.3 and window.opener

2009-09-02 Thread msoliver
Fair point. What you suggest certainly would be better than no check. But, it's not a test that openerFunc is actually a function, just that it exists and has an call property. Thanks though, - Mike On Sep 2, 11:45 am, Matt Kruse wrote: > On Sep 2, 1:16 pm, msoliver wrote: > > >         if ($