I wonder if it would be helpful to have a backwards incompatible
changes section for every jQuery release, and a master page somewhere
collating all those changes.  The changes are usually highlighted in
the release notes, but it'd be more clear if there was a section
specifically calling out the things that might break.

Or maybe a tool similar to the Python 2to3 convertor that flagged
problem areas in source like @.

-- dz



On Thu, Feb 12, 2009 at 9:11 AM, John Resig <[email protected]> wrote:
>
> This sounds more like a problem of circumstances. IE was being
> unhelpful and not providing the nice error message that we specified -
> and the error was only happening in IE (since the fix was browser
> specific). All of it was very unfortunate - but I'm not sure if
> there's a lot that we can do on our end. (We've documented the change,
> we throw a helpful exception.)
>
> Ugh, I can definitely commiserate, though :-/
>
> --John
>
>
>
> On Thu, Feb 12, 2009 at 7:04 AM, THD <[email protected]> wrote:
>>
>> The selector 'i...@src$=png]' failed with the latest version of jQuery
>> (Sizzle).
>> At first I thought this problem only occured in IE6, but that was just
>> because it only got executed in the png alpha fix for IE6). I only
>> found this problem after a long search, only to find a small message
>> in the documentation that the @ is the culprit since it wasn't
>> supported in 1.3.x.
>>
>> My main problem was that IE (both IE6 and IE7) reports a generic error
>> instead of the error thrown by jQuery (the error you get is that the
>> thrown error isn't handled). Only after adding my own alert to the
>> jQuery source IE reported the specific selector that caused the
>> problem.
>> Especially for large pieces of code with a lot of selectors that might
>> be broken by upgrading jQuery the reporting of error in the selectors
>> can be *very* useful.
>>
>> The question of course remains: Is this unhandled exception a bug or a
>> feature?
>>
>> Regards,
>> THD
>>
>>
>> >
>>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to