On Tue, Jan 13, 2009 at 8:11 AM, Diego Perini <diego.per...@gmail.com> wrote:
> // detect IE any version from IE to IE8 > IE = typeof document.fileSize != 'undefined', > > I don't understand how conditional comments or "userAgent" parsing can > be better than the above for IE. Look at bug #3169 as an example... Without getting into an argument about the pros and cons of feature testing, as I'm sure that's something that's been hashed out many times before, do we really need browser detection in core for the express purpose of applying browser specific hacks? Plugin authors should probably follow jQuery's lead and use feature testing when possible. If they really do need a browser specific block for some reason, they can always use a browser detection plugin. That way, it doesn't tie jQuery versioning to browser developments. IIRC, 1.3 just weaned itself away from having explicit browser detection. Is it a good idea to put it back into core for something like this? -- --- David Zhou da...@nodnod.net --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "jQuery Development" group. To post to this group, send email to jquery-dev@googlegroups.com To unsubscribe from this group, send email to jquery-dev+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/jquery-dev?hl=en -~----------~----~----~----~------~----~------~--~---