红联Linux门户
Linux帮助

jQuery 1.11.0 RC1和2.1.0 RC1发布

发布时间:2014-01-17 09:41:10来源:红联作者:empast
jQuery 今天发布两个新版本,分别是 1.11.0 RC1 和 2.1.0 RC1 ,下载地址:

http://code.jquery.com/jquery-1.11.0-rc1.js

http://code.jquery.com/jquery-2.1.0-rc1.js

改进内容分别如下:

Changelog
Common to both jQuery 1.11 RC1 and jQuery 2.1 RC1
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

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

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 RC1
Ajax
#13240: IE8 Doesn’t support HTTP PATCH method

#14475: Local Ajax requests don’t work in IE 11 (ActiveXObject checking in jQuery fails)

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 RC1
Ajax
#14207: Ajax error defaults to status 404

#14340: Remove oldIE code from support tests on master

Build
#13768: Error trying to load jQuery from node.js

Core
#14313: Optimize jQuery.merge for size

Event
#14544: Remove elem reference from event handler

来自:开源中国社区
文章评论

共有 0 条评论