jQuery 1.11 和 2.1 Beta1 发布了,获取地址:
别忘了 jQuery 1.x 支持 IE 6/7/8 ,而 jQuery 2.x 不支持,值得关注的改进有:文章源自陈学虎-https://chenxuehu.com/article/2013/09/1367.html
1. 异步模块定义 AMD
2. 性能提升,降低启动时间
3. Bower support: We’re now using Bower for a lot of our internal dependency management, and plan to publish production versions of jQuery to Bower in the future.
4. Bug 修复
5. API 改动文章源自陈学虎-https://chenxuehu.com/article/2013/09/1367.html
两个版本都包含如下的改进记录:文章源自陈学虎-https://chenxuehu.com/article/2013/09/1367.html
Ajax
Attributes
Build
- #13983: Switch to //# for sourcemap directives
- #14113: AMD-ify jQuery source
- #14118: Use bower to include Sizzle and QUnit (remove submodules)
- #14163: Make Deferreds/Callbacks/.ready() optional modules
评论