红联Linux门户
Linux帮助

jQuery 1.11.1 Beta 1/2.1.1 Beta 1发布

发布时间:2014-03-25 09:16:24来源:红联作者:empast
jQuery 1.11.1 Beta 1/2.1.1 Beta 1 发布,这两个版本主要包括了一些 bug 修复和一些改进。1.x 系列支持 IE 6/7/8 ,2.x 不支持。现已提供下载:

http://code.jquery.com/jquery-1.11.1-beta1.js
http://code.jquery.com/jquery-2.1.1-beta1.js

改进记录:

Common to 1.11.1/2.1.1 Beta 1
Ajax
#14773: load() with selector doesn’t work

Attributes
#14858: jQuery 1.11.0 and up - .val() of option with no value attribute returning white-space

Build
#14798: Define bower.json#main for all tags

#14859: Custom Build: custom AMD name doesn’t work

Core
#14179: $.isNumeric returns true if argument is an array that contains one integer

#14687: note on AMD best practices

#14802: User defined onready function on the window is triggered when jQuery is present on the page

#14882: document.ready doesn’t fire in iOS7 for jQuery loaded after window load event fires

Css
#14750: $.show() after $.hide() sometimes does not restore the correct display style

#14792: Inconsistent .css(‘font-weight’) return values

#14888: Add flexbox properties to jQuery.cssNumber to avoid adding “px”

Event
#13997: stopImmediatePropagation doesn’t stop DOM added event listenders

#14741: Improve compatibility with Pointer Events

#14791: Triggering beforeunload throws exception

Unfiled
#14785: Broken again when transforming XHTML to XHTML (creating XML-DOM) via clientside XSLT

jQuery 1.11.1 Beta 1
Css
#14731: Checking .css(‘marginRight’) after width() can give incorrect results

#14759: IE8 element.css({ font: ‘bold 11px/14px Lucida Grande’ }) doesn’t work

jQuery 2.1.1 Beta 1
Ajax
#14683: ajax: Exceptions thrown synchronously by xhr.send are not caught

Attributes
#14756: Simplify an option hook

Core
#14746: Remove special case try/catch in isPlainObject

#14794: String.prototype.trim doesn’t trim Unicode whitespaces in Android <4.1

Css
#14836: Css -webkit-transistion, transition not set under Chrome

Event
#14897: Android 2.3 doesn’t pass isDefaultPrevented value to bubbled events

Manipulation
#14659: Avoid use of Object.keys() in cleanData()

Selector
#14902: Use element.matches in alternate selector engine if it’s available

Support
#14901: “Unsafe HTML” warnings in WWA

更多更新内容请看发行说明。

项目主页:http://blog.jquery.com/2014/03/24/jquery-1-11-1-beta-1-and-2-1-1-beta-1-released/

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

共有 0 条评论