设为首页 收藏本站
查看: 903|回复: 0

[软件发布] jQuery 3.0 最终版发布

[复制链接]

尚未签到

发表于 2016-10-25 09:35:22 | 显示全部楼层 |阅读模式
欢迎加入运维网交流群:263444886   DSC0000.jpg
                  jQuery 3.0 最终版发布了。jQuery 3.0将是jQuery的未来。但如果你需要IE6-8支持,您可以继续使用最新版本1.12。
  为了帮助用户升级,jQuery 发布了全新的3.0升级指南,以及 jQuery Migrate 3.0 插件将帮助您识别代码中的兼容性问题。
  您可以从jQuery CDN获取文件,或者直接访问链接:
  

  • https://code.jquery.com/jquery-3.0.0.js
  • https://code.jquery.com/jquery-3.0.0.min.js
  您也可以从以下npm获得更新:
npm install jquery@3.0.0  
  此外,jQuery Migrate 3.0 也更新了。地址:

  • https://code.jquery.com/jquery-migrate-3.0.0.js
  • https://code.jquery.com/jquery-migrate-3.0.0.min.js
npm install jquery-migrate@3.0.0  更新日志:
  
Ajax

  •   Golf away 21 bytes (eaa3e9f)
  •   Preserve URL hash on requests (#1732, e077ffb)
  •   Execute jQuery#load callback with correct context (#3035, 5d20a3c)
  •   Ensure ajaxSettings.traditional is still honored (#3023, df2051c)
  •   Remove unnecessary use of jQuery.trim (0bd98b1)
Attributes

  •   Avoid infinite recursion on non-lowercase attribute getters (#3133, e06fda6)
  •   Add a support comment & fix a link @ tabIndex hook (9cb89bf)
  •   Strip/collapse whitespace for set values on selects (#2978, 7052698)
  •   Remove redundant parent check (b43a368)

  •   Fix setting selected on an option in IE
  •   Fix an incorrect comment in the attributes module (5430c54)
  •   Updated links to https where they are supported. (b0b280c)
  •   Update support comments to follow the new syntax (6072d15)
  •   Use https where possible (1de8346)
  •   Use HTTPS URLs for jsfiddle & jsbin (63a303f)
  •   Add FAQ to reduce noise in issues (dbdc4b7)
  •   Add a note about loading source with AMD (#2714, e0c25ab)
  •   Add note about code organization with AMD (#2750, dbc4608)
  •   Reference new feature guidelines and API tenets (#2320, 6054139)
Effects


  •   Remove>
  •   Add tests for using jQuery.speed directly (#2716, cb80b42)
Event

  •   Allow constructing a jQuery.Event without a target (#3139, 2df590e)
  •   Add touch event properties, eliminates need for a plugin (#3104, f595808)
  •   Add the most commonly used pointer event properties (7d21f02)
  •   Remove fixHooks, propHooks; switch to ES5 getter with addProp (#3103, #1746, e61fccb)
  •   Make event dispatch optimizable by JavaScript engines (9f268ca)
  •   Evaluate delegate selectors at add time (#3071, 7fd36ea)
  •   Cover invalid delegation selector edge cases (e8825a5)
  •   Fix chaining .on() with null handlers (#2846, 17f0e26)
  •   Remove pageX/pageY fill for event object (#3092, 931f45f)
Events

  •   Don’t execute native stop(Immediate)Propagation from simulation (#3111, 94efb79)
Manipulation

  •   Bring tagname regexes up to spec (#2005, fb9472c)
Offset

  •   Resolve strict mode ClientRect “no setter” exception (3befe59)
Selector

  •   filters -> pseudos (#2073, 0402963)
  •   Update Sizzle to 2.3.0 (5c4be05)
  •   Add jQuery.escapeSelector (#1761, 25068bf)
Serialize

  •   Treat literal and function-returned null/undefined the same (#3005, 9fdbdd3)

  •   Reduce>
Support

  •   Improve support properties computation (#3018, 44cb97e)
Tests

  •   Take Safari 9.1 into account (234a2d8)
  •   Limit selection to #qunit-fixture in attributes.js (ddb2c06)
  •   Set Edge’s expected support for clearClone  to true (28f0329)
  •   Fix Deferred tests in Android 5.0’s stock Chrome browser & Yandex.Browser (5c01cb1)
  •   Add additional test for jQuery.isPlainObject (728ea2f)
  •   Build: update QUnit and fix incorrect test (b97c8d3)
  •   Fix manipulation tests in Android 4.4 (0b0d4c6)
  •   Remove side-effects of one attributes test (f9ea869)
  •   Account for new offset tests (f52fa81)
  •   Make iframe tests wait after checking isReady (08d73d7)
  •   Refactor testIframe() to make it DRYer and more consistent (e5ffcb0)
  •   Weaken sync-assumption from jQuery.when to jQuery.ready.then (f496182)
  •   Test element position outside view (#2909, a2f63ff)
  •   Make the regex catching Safari 9.0/9.1 more resilient (7f2ebd2)
Traversing

  •   .not/.filter consistency with non-elements (#2808, 0e2f8f9)
  •   Never let .closest() match positional selectors (#2796, a268f52)
  •   Restore jQuery push behavior in .find (#2370, 4d3050b)

  详情:jQuery 3.0 Final>

运维网声明 1、欢迎大家加入本站运维交流群:群②:261659950 群⑤:202807635 群⑦870801961 群⑧679858003
2、本站所有主题由该帖子作者发表,该帖子作者与运维网享有帖子相关版权
3、所有作品的著作权均归原作者享有,请您和我们一样尊重他人的著作权等合法权益。如果您对作品感到满意,请购买正版
4、禁止制作、复制、发布和传播具有反动、淫秽、色情、暴力、凶杀等内容的信息,一经发现立即删除。若您因此触犯法律,一切后果自负,我们对此不承担任何责任
5、所有资源均系网友上传或者通过网络收集,我们仅提供一个展示、介绍、观摩学习的平台,我们不对其内容的准确性、可靠性、正当性、安全性、合法性等负责,亦不承担任何法律责任
6、所有作品仅供您个人学习、研究或欣赏,不得用于商业或者其他用途,否则,一切后果均由您自己承担,我们对此不承担任何法律责任
7、如涉及侵犯版权等问题,请您及时通知我们,我们将立即采取措施予以解决
8、联系人Email:admin@iyunv.com 网址:www.yunweiku.com

所有资源均系网友上传或者通过网络收集,我们仅提供一个展示、介绍、观摩学习的平台,我们不对其承担任何法律责任,如涉及侵犯版权等问题,请您及时通知我们,我们将立即处理,联系人Email:kefu@iyunv.com,QQ:1061981298 本贴地址:https://www.yunweiku.com/thread-290868-1-1.html 上篇帖子: Linux Mint 18 Beta 发布,基于 Ubuntu 的发行版 下篇帖子: PHP 7.1.0 Alpha 1 发布,增加新特性
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

扫码加入运维网微信交流群X

扫码加入运维网微信交流群

扫描二维码加入运维网微信交流群,最新一手资源尽在官方微信交流群!快快加入我们吧...

扫描微信二维码查看详情

客服E-mail:kefu@iyunv.com 客服QQ:1061981298


QQ群⑦:运维网交流群⑦ QQ群⑧:运维网交流群⑧ k8s群:运维网kubernetes交流群


提醒:禁止发布任何违反国家法律、法规的言论与图片等内容;本站内容均来自个人观点与网络等信息,非本站认同之观点.


本站大部分资源是网友从网上搜集分享而来,其版权均归原作者及其网站所有,我们尊重他人的合法权益,如有内容侵犯您的合法权益,请及时与我们联系进行核实删除!



合作伙伴: 青云cloud

快速回复 返回顶部 返回列表