Practical approach to keeping jQuery up to date?

后端 未结 6 791
时光取名叫无心
时光取名叫无心 2020-12-05 02:46

Some of the projects we\'re working on have strong roots in jQuery 1.4.2 or earlier, and somewhere between lacking the performance edge (or syntactic sugar) of the latest re

6条回答
  •  夕颜
    夕颜 (楼主)
    2020-12-05 03:27

    This is worth looking into: https://github.com/jquery/jquery-migrate/#readme

    This plugin can be used to detect and restore APIs or features that have been deprecated in jQuery and removed as of version 1.9. See the warnings page for more information regarding messages the plugin generates. For more information about the changes made in jQuery 1.9, see the upgrade guide and blog post.

提交回复
热议问题