发布于 2017-03-17 01:24:43 | 419 次阅读 | 评论: 0 | 来源: 网友投递
jQuery javascript框架
jQuery是一个兼容多浏览器的javascript框架,核心理念是write less,do more(写得更少,做得更多)。jQuery在2006年1月由美国人John Resig在纽约的barcamp发布,吸引了来自世界各地的众多JavaScript高手加入,由Dave Methvin率领团队进行开发。
jQuery 3.2.0 发布了,此版本包括一些错误修复,改进和一些弃用,如果从 jQuery 3.0+ 升级,应该不会存在兼容性问题。
如果尚未升级到 jQuery 3+,请查看 3.0 升级指南。jQuery Migrate 3.0 插件将帮助你识别代码中的兼容性问题。
Added support for custom CSS properties (#3144).
Deprecated jQuery.holdReady
(#3288).
Deprecated jQuery.nodeName
(#3475).
Deprecated jQuery.inArray
(#2961).
Fixed a bug in .width()
, .height()
, and related methods where CSS transforms were included in the calculations. For instance, an element with the style transform: scale(2x)
should not have its width and height values doubled (#3193).
Added support for <template>
elements to the .contents()
method (#3436).
Added back the deprecated module to the slim build. This change is largely insignificant given the module’s small size. We believe it makes more sense to remove deprecated pieces from the slim build at the same time as the main jQuery build (#3237).
https://code.jquery.com/jquery-3.2.0.js
https://code.jquery.com/jquery-3.2.0.min.js
也可从 npm 获取
npm install jquery@3.2.