jQuery 1.7.1 正式版发布下载
fmms 13年前
<p>jQuery 1.7.1 正式发布了。</p> <p class="MsoNormal"> </p> <p style="text-align:center;"><img alt="" src="https://simg.open-open.com/show/5da64d9bddad6f0ebb2dd917ae3da237.jpg" width="241" height="85" /></p> <p class="MsoNormal">该版本修复了1.7中发现的一些Bug,包括:</p> <p class="MsoNormal"> </p> <p class="MsoNormal"><span lang="EN-US"><strong>Ajax</strong></span> </p> <ul> <li><span style="color:#000000;"><a href="/misc/goto?guid=4958199953716511899" target="_blank"><span style="color:windowtext;text-decoration:none;" lang="EN-US"><u>#10723</u></span></a>:<span lang="EN-US">jqXHR.always()</span>返回一个Promise,</span>而不是一个<span lang="EN-US">jqXHR</span>对象</li> </ul> <p class="MsoNormal"><span lang="EN-US"><strong>Attributes</strong></span> </p> <ul> <li><a href="/misc/goto?guid=4958199954464841891" target="_blank"><span style="color:windowtext;text-decoration:none;" lang="EN-US"><u>#10724</u></span></a>:<span lang="EN-US">$(document).text()</span>总是返回一个空字符串</li> <li><a href="/misc/goto?guid=4958199955206881567" target="_blank"><span style="color:windowtext;text-decoration:none;" lang="EN-US"><u>#10773</u></span></a>:<span lang="EN-US">removeAttr</span>某些情况下容易出问题 </li> </ul> <p class="MsoNormal"><span lang="EN-US"><strong>Build</strong></span></p> <ul> <li><span style="color:#000000;"><a href="/misc/goto?guid=4958199955944782967" target="_blank"><span style="color:windowtext;text-decoration:none;" lang="EN-US"><u>#10630</u></span></a>:修复了与焦点相关的测试失败的问题,以解决Swarm</span>故障 </li> </ul> <p class="MsoNormal"><span lang="EN-US"><strong>Core</strong></span></p> <ul> <li><a href="/misc/goto?guid=4958199957407922931" target="_blank"><span style="color:windowtext;text-decoration:none;" lang="EN-US"><u>#10646</u></span></a>:<span lang="EN-US">jQuery.error</span>抛出<span lang="EN-US">instanceof Error</span>对象</li> <li><a href="/misc/goto?guid=4958199958146190640" target="_blank"><span style="color:windowtext;text-decoration:none;" lang="EN-US"><u>#10682</u></span></a>:使用<span lang="EN-US">$(‘ ‘)</span>创建<span lang="EN-US">DOM</span>元素可能会导致内存泄漏,并跳过片段缓存</li> <li><a href="/misc/goto?guid=4958199958895810936" target="_blank"><span style="color:windowtext;text-decoration:none;" lang="EN-US"><u>#10687</u></span></a>:<span lang="EN-US">jQuery</span>过早调用<span lang="EN-US">AMD define()</span>全局函数</li> <li><a href="/misc/goto?guid=4958199959649369169" target="_blank"><span style="color:windowtext;text-decoration:none;" lang="EN-US"><u>#10690</u></span></a>:使用<span lang="EN-US">isNumeric函数不能得到正确的结果</span> </li> </ul> <p class="MsoNormal"><span lang="EN-US"><strong>CSS</strong></span></p> <ul> <li><a href="/misc/goto?guid=4958199960384906801" target="_blank"><span style="color:windowtext;text-decoration:none;" lang="EN-US"><u>#10733</u></span></a>:在支持<span lang="EN-US">for loop</span>的<span lang="EN-US">CSS</span>模块中移除<span lang="EN-US">jQuery.each</span> </li> </ul> <p class="MsoNormal"><span lang="EN-US"><strong>Data</strong></span></p> <ul> <li><a href="/misc/goto?guid=4958199961134331369" target="_blank"><span style="color:windowtext;text-decoration:none;" lang="EN-US"><u>#10675</u></span></a>:使用内键快捷键,而不是<span lang="EN-US">jQuery.expando</span> </li> </ul> <p class="MsoNormal"><span lang="EN-US"><strong>Effects</strong></span></p> <ul> <li><a href="/misc/goto?guid=4958199961889626873" target="_blank"><span style="color:windowtext;text-decoration:none;" lang="EN-US"><u>#10669</u></span></a>:<span lang="EN-US">.animate()</span>不再绘制百分比(%)表示的宽度</li> <li><a href="/misc/goto?guid=4958199962629517261" target="_blank"><span style="color:windowtext;text-decoration:none;" lang="EN-US"><u>#10750</u></span></a>:数据对象中的“<span lang="EN-US">null</span>”可能会导致停止错误</li> </ul> <p class="MsoNormal">另外,还修复了<span lang="EN-US">Event</span>、<span lang="EN-US">Manipulation</span>、<span lang="EN-US">Misc</span>、<span lang="EN-US">Support</span>等方面的<span lang="EN-US">Bug</span>,详细信息参阅:</p> <p class="MsoNormal"><a href="/misc/goto?guid=4958200520190257014"><span style="color:#006699;">http://blog.jquery.com/2011/11/21/jquery-1-7-1-released/</span></a></p> <p class="MsoNormal"><span lang="EN-US"> </span></p> <p class="MsoNormal"><span><strong>下载地址:</strong></span></p> <ul> <li><a href="/misc/goto?guid=4958200520931502629" target="_blank"><span style="color:#006699;">jQuery 1.7.1.js</span></a></li> <li><a href="/misc/goto?guid=4958200521674958906" target="_blank"><span style="color:#006699;">jQuery 1.7.1 min.js</span></a></li> </ul> 转自: <a href="/misc/goto?guid=4958200522427624638">http://www.iteye.com/news/23445</a>