jQuery 今天发布两个新版本,分别是 1.11.0 RC1 和 2.1.0 RC1 ,下载地址:
改进内容分别如下:
Changelog
Common to both jQuery 1.11 RC1 and jQuery 2.1 RC1
Ajax
Attributes
Build
#14118: Use bower to include Sizzle and QUnit (remove submodules)
#14504: Build: Upgrade to grunt-contrib-jshint 0.7.1 and squash subtasks
Core
#14549: npm jQuery does not expose the jQuery function, but instead a wierd factory
#14645: Remove global exposure for CommonJS environments with a document
Css
Data
#14101: Version 1.10 .data() differs from 1.8 when getting data from non-existent object
#14459: data-* attribute parsing bypasses jQuery.parseJSON (inconsistent with 1.x)
Effects
Event
#13993: .triggerHandler doesn’t return value from handler for DOM0 events
#14282: Don’t call getPreventDefault() if there is a defaultPrevented property
Misc
Selector
#14142: Wrong number of elements returned in XML document with numeric IDs in Safari
#14351: Exception thrown when running `find` in a non-attached DOM node
#14381: .add() throws “no such interface” in IE when adding nodes from another window
#14535: Selection fails in IE11 when the last context is a no-longer-present iframe document
Support
#10814: make support as lazy as possible with closure in mind
#14401: Error when loading a page with application/xhtml+xml
#14496: jQuery 2.1.0-beta1 fails to initialize in a XHTML page
引用来自“抓瓦工人”的评论
引用来自“Kuqoi”的评论
1.99.99后怎么办?
引用来自“Kuqoi”的评论
1.99.99后怎么办?
引用来自“Kuqoi”的评论
1.99.99后怎么办?
引用来自“Kuqoi”的评论
1.99.99后怎么办?