Upgrading from jQuery 1.3.2 to jQuery 1.5 (or 1.4)

前端 未结 3 1175
爱一瞬间的悲伤
爱一瞬间的悲伤 2020-12-17 06:27

I remember when jQuery 1.4 came out, there was a upgrade link and text where it said that there where stuff that was changed, and stuff we had to rewrite for it to work in 1

相关标签:
3条回答
  • 2020-12-17 06:32

    For anyone "these days" that is needing help with this, as I just did, it seems that the jQuery team created a better jQuery Migrate plugin that will allow some of the old deprecated code to still work in newer versions (1.9+) of jQuery. As well, if you get the uncompressed version of it, you can use it to pinpoint and debug your older code against the newer version. Works great, so I hope it helps someone else out!

    Compressed version of jQuery Migrate plugin

    Uncompressed version of jQuery Migrate plugin

    I had some really old 1.3.2 code that stopped working when I upgraded to 1.10+, and this allowed it to continue to work without any issues, meanwhile also allowing me to pinpoint the exact code that I needed to rewrite.

    0 讨论(0)
  • 2020-12-17 06:39

    The differences between 1.3.2 are listed here: http://jquery14.com/day-01/jquery-14

    And the release notes for 1.5: http://blog.jquery.com/2011/01/31/jquery-15-released/

    The 1.4 link has a list of breaking changes, including a link to this plugin to counteract the breaking changes.

    And now 1.6 as well: http://blog.jquery.com/2011/05/03/jquery-16-released/

    0 讨论(0)
  • 2020-12-17 06:52

    Here the link: http://blog.jquery.com/2011/01/31/jquery-15-released/

    0 讨论(0)
提交回复
热议问题