博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
jQuery1.7.2正式发布了
阅读量:5126 次
发布时间:2019-06-13

本文共 3414 字,大约阅读时间需要 11 分钟。

下载地址

  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

  • : $(‘<div>’).siblings() throws exception

转载于:https://www.cnblogs.com/artwl/archive/2012/04/23/2466739.html

你可能感兴趣的文章
导航,头部,CSS基础
查看>>
[草稿]挂载新硬盘
查看>>
[USACO 2017 Feb Gold] Tutorial
查看>>
关于mysql中GROUP_CONCAT函数的使用
查看>>
OD使用教程20 - 调试篇20
查看>>
Java虚拟机(JVM)默认字符集详解
查看>>
Java Servlet 过滤器与 springmvc 拦截器的区别?
查看>>
(tmp >> 8) & 0xff;
查看>>
linux命令之ifconfig详细解释
查看>>
NAT地址转换
查看>>
Nhibernate 过长的字符串报错 dehydration property
查看>>
Deque - leetcode 【双端队列】
查看>>
Linux 普通用户拿到root权限及使用szrz命令上传下载文件
查看>>
人物角色群体攻击判定(一)
查看>>
JavaWeb学习过程 之c3p0的使用
查看>>
MySql Delimiter
查看>>
一步步学习微软InfoPath2010和SP2010--第九章节--使用SharePoint用户配置文件Web service(2)--在事件注册表单上创建表单加载规则...
查看>>
使用客户端对象模型读取SharePoint列表数据
查看>>
POJ 1328 Radar Installation 贪心
查看>>
gulp插件gulp-ruby-sass和livereload插件
查看>>