麻豆小视频在线观看_中文黄色一级片_久久久成人精品_成片免费观看视频大全_午夜精品久久久久久久99热浪潮_成人一区二区三区四区

首頁 > 編程 > JavaScript > 正文

喜大普奔!jQuery發布 3.0 最終版

2019-11-20 09:44:12
字體:
來源:轉載
供稿:網友

jQuery 3.0 最終版發布了。jQuery 3.0將是jQuery的未來。但如果你需要IE6-8支持,您可以繼續使用最新版本1.12。

為了幫助用戶升級,jQuery 發布了全新的3.0升級指南,以及 jQuery Migrate 3.0 插件將幫助您識別代碼中的兼容性問題。

您可以從jQuery CDN獲取文件,或者直接訪問鏈接:

您也可以從以下npm獲得更新:

npm install [email protected]

此外,jQuery Migrate 3.0 也更新了。地址:

npm install [email protected]

更新日志:

Ajax

  • Golf away 21 bytes (eaa3e9f)

  • Preserve URL hash on requests (#1732e077ffb)

  • Execute jQuery#load callback with correct context (#30355d20a3c)

  • Ensure ajaxSettings.traditional is still honored (#3023df2051c)

  • Remove unnecessary use of jQuery.trim (0bd98b1)

Attributes

  • Avoid infinite recursion on non-lowercase attribute getters (#3133e06fda6)

  • Add a support comment & fix a link @ tabIndex hook (9cb89bf)

  • Strip/collapse whitespace for set values on selects (#29787052698)

  • Remove redundant parent check (b43a368)

  • Fix setting selected on an option in IE<=11 (#2732780cac8)

CSS

  • Don't workaround the IE 11 iframe-in-fullscreen sizing issues (#3041ff1a082)

  • Toggle detached elements as visible unless they have display: none (#2863755e7cc)

  • Make sure elem.ownerDocument.defaultView is not null (#286635c3148)

  • Add animation-iteration-count to cssNumber (#2792df822ca)

  • Restore cascade-override behavior in .show (#2654#2308dba93f7)

  • Stop Firefox from treating disconnected elements as cascade-hidden (#2833fe05cf3)

Core

  • Implement ready without Deferred (#1778#18235cbb234)

  • Improve isNumeric logic and test coverage (#27807103d8e)

  • Set the base href of the context in parseHTML (#296510fc590)

  • Simplify isPlainObject (#2986e0d3bfa)

  • Add test for `jQuery.isPlainObject(localStorage)` (ce6c83f)

  • Do not expose second argument of the `jQuery.globalEval` (6680c1b)

  • Deprecate jQuery.parseJSON (#280093a8fa6)

Deferred

  • Separate the two paths in jQuery.when (#3029356a3bc)

  • Provide explicit undefined context for jQuery.when raw casts (#30827f1e593)

  • Remove default callback context (#30607608437)

  • Warn on exceptions that are likely programming errors (#273636a7cf9)

  • Propagate progress correctly from unwrapped promises (#3062d5dae25)

  • Make jQuery.when synchronous when possible (#3100de71e97)

  • Remove undocumented progress notifications in $.when (#2710bdf1b8f)

  • Give better stack diagnostics on exceptions (07c11c0)

Dimensions

  • Add tests for negative borders & paddings (f00dd0f)

Docs

  • Fix various spelling errors (aae4411)

  • Update support comments related to IE (693f1b5)

  • 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 (#2714e0c25ab)

  • Add note about code organization with AMD (#2750dbc4608)

  • Reference new feature guidelines and API tenets (#23206054139)

Effects

Event

  • Allow constructing a jQuery.Event without a target (#31392df590e)

  • Add touch event properties, eliminates need for a plugin (#3104f595808)

  • Add the most commonly used pointer event properties (7d21f02)

  • Remove fixHooks, propHooks; switch to ES5 getter with addProp (#3103#1746e61fccb)

  • Make event dispatch optimizable by JavaScript engines (9f268ca)

  • Evaluate delegate selectors at add time (#30717fd36ea)

  • Cover invalid delegation selector edge cases (e8825a5)

  • Fix chaining .on() with null handlers (#284617f0e26)

  • Remove pageX/pageY fill for event object (#3092931f45f)

Events

  • Don't execute native stop(Immediate)Propagation from simulation (#311194efb79)

Manipulation

Offset

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

Selector

Serialize

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

  • Reduce size (91850ec)

Support

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 (#2909a2f63ff)

  • Make the regex catching Safari 9.0/9.1 more resilient (7f2ebd2)

Traversing

  • .not/.filter consistency with non-elements (#28080e2f8f9)

  • Never let .closest() match positional selectors (#2796a268f52)

  • Restore jQuery push behavior in .find (#23704d3050b)

詳情:jQuery 3.0 Final Released!

發表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發表
主站蜘蛛池模板: 夜添久久精品亚洲国产精品 | 2019中文字幕在线播放 | 羞羞视频| 99爱视频| 少妇一级淫片免费放4p | 美国人成人在线视频 | 日本人乱人乱亲乱色视频观看 | 欧美激情 在线播放 | 一级视频在线播放 | 国产福利视频在线观看 | 欧美一级久久 | 国产精品色综合 | 国产成人高清在线观看 | 成人精品视频在线 | 毛片免费在线观看 | 亚洲乱搞 | 午夜国产在线观看 | 蜜桃视频在线免费观看 | 亚洲综合视频网站 | 一级毛片手机在线观看 | 成人精品久久久 | 国产精品高潮99久久久久久久 | 91亚洲精品一区二区福利 | 越南一级黄色片 | 中国女警察一级毛片视频 | av免费在线观看免费 | 久久精品之 | 一区二区三区在线观看免费 | 久久久成人精品视频 | av手机在线免费播放 | 中国大陆高清aⅴ毛片 | 欧美雌雄另类xxxxx | 久草网在线 | 国产成人高清在线 | 亚洲码无人客一区二区三区 | 在线日韩亚洲 | 欧美淫交| 毛片在线看免费 | 久久第四色 | 极品国产91在线网站 | 成年毛片|