How to make sure I am writing jQuery 1.6
I have开发者_如何转开发 been using jquery 1.3 and upgraded to jQuery 1.6. However I am not sure if the code I am writing is 1.6 since it's difficult to list the api difference from 1.3 to 1.6.
What would you do in my case? Any techniques you follow?
There are not that many differences and chances are that the code you have written will work exactly the same. Library projects like jQuery are very conscious of backward compatibility.
If the script tag references jQuery 1.6, you are using jQuery 1.6.
You should be able to write your code basically the same way, but you can look here for breaking changes.
精彩评论