jQuery 1.11 和 2.1 发布
jQuery 1.11 和 2.1 发布,相关下载:
Download the compressed, production jQuery 1.11.0
Download the compressed, production jQuery 2.1.0
更新内容如下:
Changelog
jQuery 1.11 and 2.1 (common to both)
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
Manipulation
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