jQuery1.5.2RC1更新内容(汉语言)
jQuery1.5.2RC1更新内容(中文)单位加班~干不动了,翻译点文档,翻译的不好,欢迎指教。#6158?Fixed replaceWit
jQuery1.5.2RC1更新内容(中文)
单位加班~干不动了,翻译点文档,翻译的不好,欢迎指教。
- #6158?Fixed replaceWith from throwing errors on non existant elements.
#6158 修正 replaceWith?没有找到元素时,抛出一个异常. - #7340?We now use a single capturing handler to simulate bubbling focusin/focusout event on non-IE browsers. Allows native DOM methods to fire events other than the currently active one back into jQuery.
#7340 我们现在使用一个单例模式的捕捉器来模拟focusin / focusout冒泡事件,在非IE浏览器。允许原生DOM方法触发事件,除了当前已进入jQuery的回退事件. - #8353?Reverted. Adds a catch block in resolveWith so that the finally block gets executed in IE7 and IE6. #8353 Fixes?#8438?– an issue where the full functions stack wasn’t visible when debugging in Google Chrome.
Reverted.在resolveWith中添加一个catch块,以便在IE7和IE6下能够捕捉到finally。修正#8438这个问题--在Chrome调试时,full functions stack不可见。
- #8380?Make it so that $(‘:text’) matches <input> as ‘type=text’ is the implied default.
#8380 类似(‘:text’)的语法能够匹配<input>,例如”type=text“就是一个默认的实现。 - #8421?Makes sure resolveWith can be called with only one parameter.
#8421 确保resolveWith只有一个参数。 - #8423?Never set X-Requested-With header automagically for cross-domain requests. Fixes an issue where all cross-domain ajax requests are pre-flighted and require extra additional options.
当跨域请求时,从不自动设置头部X-Requested-With。修正一个问题where all cross-domain ajax requests are pre-flighted and require extra additional options. - #8456?Fixed an issue where trigger(‘mouseover’) was no longer triggering mouseenter. We make sure parent is not null before crawling into its lap, so mouseenter is triggered on a mouseover event.
- #8509?Makes URL regexp less overzealous and ensures it recognizes URL schemes which do not contain a conformant hierarchical structure (as per section 2.1.2 of#http://www.ietf.org/rfc/rfc2718.txt). Also adds about: and adobe air’s app: and app-storage: to the list of local protocols and provides a failover in case document.location is illformed.
- #8536?Introduced submodules to the jQuery repository on GitHub.
在jQuery GitHub的知识库中引进子模块 - #8381?Fixed .is(“div”) to work on disconnected nodes in IE 9.
修正?.is("div")可以工作在IE9分离的节点上. - #8316?Fixed .offset() setter on fixed elements in WebKit.
#8316?修正?.offset() 可以设置在fixed定位的元素上。 - #3333?Fixed incorrect .css(“marginRight”) in WebKit.
#3333 修正 .css(“marginRight”)的错误