jQuery 3.4.1 发布,修复上个版本的问题

栏目: jQuery · 发布时间: 5年前

内容简介:三周前,在 jQuery 3.4.0 中,触发本地事件的事件处理程序带来了一些改变,例如示例代码

三周前, jQuery 发布了 3.4.0 版本 ,用户对这个版本反馈了不少问题,于是便有了这个修复问题的补丁版本 3.4.1。

1.在 IE 中触发获取或失去焦点的事件出现异常

在 jQuery 3.4.0 中,触发本地事件的事件处理程序带来了一些改变,例如 focusblur 。而这些变化导致了一个回归问题,有时会导致抛出神秘的错误 "saved.shift is not a function" ,目前已修复。

示例代码

// Error thrown in IE10-11
// after clicking #test-element twice
jQuery("#test-element").click(function() {
  jQuery(this).trigger("blur");
});

2.修复在 iOS 10.0-10.2 中无法检查元素附件的问题

3.使用 AMD 加载 jQuery 出错的问题已修复

下载地址:

或者从 npm 获取该版本:

npm install jquery@3.4.1

GitHub changelog:  Issues fixed in 3.4.1All changes


以上就是本文的全部内容,希望对大家的学习有所帮助,也希望大家多多支持 码农网

查看所有标签

猜你喜欢:

本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们

A Byte of Python

A Byte of Python

Swaroop C H / Lulu Marketplace / 2008-10-1 / USD 27.98

'A Byte of Python' is a book on programming using the Python language. It serves as a tutorial or guide to the Python language for a beginner audience. If all you know about computers is how to save t......一起来看看 《A Byte of Python》 这本书的介绍吧!

SHA 加密
SHA 加密

SHA 加密工具

RGB CMYK 转换工具
RGB CMYK 转换工具

RGB CMYK 互转工具

HSV CMYK 转换工具
HSV CMYK 转换工具

HSV CMYK互换工具