While I like the split between attr() and prop() conceptually, the difficulty of updating was much higher. This is probably the right way to go about this for now.
I'm glad they backed out the changes to attr(). Backward compatibility is critical for any popular library, often more important than having completely "correct" behaviour.
Without any kind of type-safety or compilation in JavaScript, it's even more important for jQuery to preserve compatibility than libraries in other languages. You probably wouldn't discover some obscure breakages until the software using it is in production.
4 comments
[ 2.7 ms ] story [ 17.7 ms ] threadWithout any kind of type-safety or compilation in JavaScript, it's even more important for jQuery to preserve compatibility than libraries in other languages. You probably wouldn't discover some obscure breakages until the software using it is in production.