下载地址
jQuery1.7.2正式发布了,下载地址:
- (minified, production)
- (unminified, debug)
注:如果你正在使用jQuery Mobile,请使用最新的jQuery 1.7.2和jQuery Mobile 1.1这两个版本,因为之前的jQuery Mobile版本还基于jQuery core 1.7.1或更早的版本。
更新内容
Ajax
- : Charset in default ajaxSettings.contentType
- : jQuery.param() should allow non-native constructed objects as property values
- : evalScript() uses defaults set by ajaxSetup()
- : jQuery.ajax() always fails when requesting JPG images in IE
Attributes
- : Allow chaining when passing undefined to any setter in jQuery
- : attr(“coords”) returns undefined in IE7
- : Incorrect behaviour of $.removeAttr(“selected”)
- : Consider looking through valHooks by element type first, then by nodeName instead of the other way around
Build
- : Configure the jshint options to more accurately match the style guide
- : generalize the “test something in an iframe” code in unit tests
- : have unit tests fail if the tester is running from file:// or doesn’t have PHP
- : ability to test a built version of jQuery in unit tests
- : Unit tests shouldn’t require internet access
Core
- : jQuery.param() mistakes wrapped primitives for deep objects
Css
- : outerWidth(true) and css(‘margin’) returning % instead of px in Webkit
- : have jQuery.swap return the return of the callback instead of just executing it
- : Incorrect calculating width
- : Bug in IE7 with $(‘#el’).css.(‘background-position’)
- : css.js regular expressions are incomplete
- : The curCSS function only need 2 arguments
Data
- : hexadecimal-formatted data-* attributes parsed incorrectly
Deferred
- : calling .disable() or .lock() on a $.Callbacks object breaks its fired() status
Dimensions
- : $(document).height() incorrect in IE6
Effects
- : Animate Hooks
- : method show is not working as expected in all browsers when called for document fragment
- : Animation toggling loses state tracking in certain atomic edge cases
- : Silently ignore negative CSS values where they are illegal
- : Negative margin in animations (.animate)
Event
- : .live(‘click’, handler) fires on disabled buttons with child elements in Chrome
- : Eliminate “this.on.call(this, “
- : $(“select”).live(“change”, function(){ …broken in IE8 in jQuery 1.7
- : Error in XRegExp using jQuery 1.7.1 in IE6-9
- : The .on() selector parameter doesn’t work with :not(:first) selector
- : Cannot off() custom events ($.event.special)
- : Hover hack mangles a namespace named “hover”
- : .clone(true) loses delegation filters
- : jQuery.fn.on: binding map with null selector ignores data
- : $(document).on() not working with name=”disabled”
Manipulation
- : Passing undefined to .text() does not trigger setter
- : inline the evalScript function in manipulation.js as it’s only used once
- : text() method on a document fragment always returns the empty string
- : Update HTML5 Shim elements list to support latest html5shiv
- : Append problem with webkit
- : Cloning XMLDoc’s with HTML5 nodeName’s breaks on IE
- : script tags with type=”text/ecmascript” leak into the DOM
- : safeFragment memory leak
Misc
- : .fired() doesn’t work on Callbacks object when it is flagged with “once”
- : Wrong path to source files in test suite if PHP missing
Queue
- : .promise() does not attach methods onto target
Support
- : Bug in $.support.boxModel if page has DIV-element CSS
- : Support Tests affect layout for positioned elements in IE6-9
- : Bug in $.support.reliableMarginRight
Traversing
阅读(1447) | 评论(0) | 转发(0) |