On Wed, Jan 28, 2009 at 10:37 AM, David Zhou <[email protected]> wrote: > > I think most of this was hashed over in a prior thread, but the only > functional difference I see is that the else case in the second > example is controllable, vs. the first case where naively applying a > fix could lead to unexpected results. > > Ultimately, though, the code won't work as expected either way. >
Perhaps jQuery could benefit from a strict mode where the "unexpected case" of falling off the end of feature checks which were neither of the first two cases would cause exceptions to be thrown. -- Maciej Adwent ([email protected]) --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "jQuery Development" 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/jquery-dev?hl=en -~----------~----~----~----~------~----~------~--~---
