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

本文共 3377 字,大约阅读时间需要 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

本文转自博客园博客,原文链接:,如需转载请自行联系原作者

你可能感兴趣的文章
vue-cli3.0 vue.config.js 配置详解
查看>>
EOSIO 指南(启动你的节点并设置)
查看>>
一文带你看懂cookie,面试前端不用愁
查看>>
Electron + Antd + Mobx 环境搭建
查看>>
我从来不理解JavaScript闭包,直到有人这样向我解释它...
查看>>
在CentOS7上安装RabbitMQ
查看>>
作为大众熟知的电商应用,京东如何构建风控体系架构?
查看>>
js运行机制及异步编程(二)
查看>>
typescript文档化工具——Typedoc
查看>>
JS数据结构0x004:链表
查看>>
以太坊钱包开发系列1 - 创建钱包账号
查看>>
社交系统 ThinkSNS+ V2.1.1 更新播报
查看>>
理解CPU分支预测,提高代码效率
查看>>
javascript调试接口
查看>>
Python基础系列:初识python引用计数与弱引用
查看>>
javascript继承方法以及优缺点
查看>>
tab 切换下划线跟随实现
查看>>
20+个很棒的Android开源项目
查看>>
跨域、vue双向绑定相关面试题
查看>>
Web Components(一)入门
查看>>