Status of jQuery with Safari 2.0.4?
I just learned that jQuery 1.2.1 with Safari 2.0.4 has some issues
(what can I say, I'm late to the party), that and I upgraded to Safari
3 a while ago so never experienced it firsthand.
I did some searching on this list and found that 2.0.4 is blowing up
on the test suite. Obviously a crash is ultimately Apple's fault, but
I'm curious whether 2.0.4 is really supported by jQuery. The jQuery
homepage does say compatible with Safari 2+, however, based on my
searching, the test suite crashes have been around since March and
still does today.
I ask because I stumbled across a bug that seems restricted to 2.0.4
(works in Firefox 2, Safari 3, IE6/7). This seemingly innocuous
statement causes a "Syntax Error - Parse error" in Safari 2.0.4.
$("a").bind("click", function e() { alert("foo"); });
I downloaded the most recently jQuery nightly (from November 30) and
the same thing happens.
Perhaps some exotic stuff causes the test case to crash Safari 2.0.4,
but binding an event doesn't work? Safari isn't just silently
ignoring, the exception is preventing other functions that do work
from executing.
Another example is this page which shows all kinds of errors in 2.0.4:
http://docs.jquery.com/Events/bind
CAVEAT: is that I am using a standalone version of Safari 2. I'm not
aware of any issues with the standalone versions, but just in case...
http://michelf.com/projects/multi-safari/
Any insight on what's going on? 2.0.4 still has a lot of usage, not
everyone has upgraded yet.
Cheers,
p.