jQuery 1.11 和 2.1 发布,相关下载:
Download the compressed, production jQuery 1.11.0:http://code.jquery.com/jquery-1.11.0.min.js
Download the compressed, production jQuery 2.1.0:http://code.jquery.com/jquery-2.1.0.min.js
更新内容如下:
Changelog
jQuery 1.11 and 2.1 (common to both)
Ajax
#14036: ajaxLocation Includes HTTP Basic Authentication Info
#14356: Remove string indexing used in AJAX
#14379: Issue with xhr.js
Attributes
#14250: addClass and removeClass needlessly assign to className.
Build
#12757: Enforce style guide via build process
#13983: Switch to //# for sourcemap directives
#14016: Include a build option for customizing exports
#14113: AMD-ify jQuery source
#14118: Use bower to include Sizzle and QUnit (remove submodules)
#14163: Make Deferreds/Callbacks/.ready() optional modules
#14415: Remove sourcemap comment
#14450: Remove CommonJS+AMD syntax from source
#14451: Add bower and npm registrations to release script
#14504: Build: Upgrade to grunt-contrib-jshint 0.7.1 and squash subtasks
#14615: Manage bower dependencies with grunt-bowercopy
#14702: Problem with npm package for jquery ‘latest’
Core
#14164: Reduce forced layout reflows in init or methods
#14492: parseJSON incorrectly accepts comma expressions
#14548: npm jQuery does not have a main module
#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
#14150: IE9-10 curCSS => “Interface not supported” in for popups (and probably frames)
#14394: style=”x: y !important;” doesn’t get changed when calling el.css(x, z) in Chrome and Safari but it works in Firefox
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
#14344: Putting different effects in callbacks uses only the first effect.
Event
#13993: .triggerHandler doesn’t return value from handler for DOM0 events
#14180: focusin/out special events don’t work cross-window
#14282: Don’t call getPreventDefault() if there is a defaultPrevented property
Manipulation
#14716: Textarea isn’t cloned properly in IE11
Misc
#14040: Tests: Replace QUnit.reset usage
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
#14584: Attribute Ends With case-insensitive in some IE8
Support
#10814: make support as lazy as possible with closure in mind
#14084: elem.css(‘width’) provides incorrect output with `box-sizing: border-box` if run before document ready
#14401: Error when loading a page with application/xhtml+xml
#14496: jQuery 2.1.0-beta1 fails to initialize in a XHTML page
jQuery 1.11
Ajax
#13240: IE8 Doesn’t support HTTP PATCH method
#14475: Local Ajax requests don’t work in IE 11 (ActiveXObject checking in jQuery fails)
Attributes
#2252: Setting select value via val() shows error in IE6
Build
#14663: jQuery 1.11.0-beta3 on npm
Core
#14074: jQuery 1 throws an error on window ready when there is an element in the DOM with the id ‘nodeName’
Effects
#14318: The animations fadeIn and fadeOut do to function as expected when used with stop()
Support
#14422: CSP violation including jquery in a blank page
jQuery 2.1
Ajax
#14207: Ajax error defaults to status 404
Build
#13119: Make jQuery releases available via npm
#13768: Error trying to load jQuery from node.js
#14340: Remove oldIE code from support tests on master
Core
#14313: Optimize jQuery.merge for size
Event
#14544: Remove elem reference from event handler
来自:开源中国社区

