Angular.Js v1.6.2 发布,JavaScript MV*框架

jopen 2年前
   <p style="text-align: center;"><strong><img alt="" src="https://simg.open-open.com/show/42418ea2d6d88684f367b335027dbbf3.png" /></strong></p>    <p> </p>    <p>AngularJS是一款开源的JavaScript MV*(MVW、MVVM、MVC)框架,目前由Google维护。AngularJS弥补了HTML在构建应用方面的不足,其通过使用标识符(directives)结构,来扩展Web应用中的HTML词汇,使开发者可以使用HTML来声明动态内容,从而使得Web开发和测试工作变得更加容易。AngularJS最初由Miško Hevery和Adam Abrons于2009年开发,后来成为了Google公司的项目。</p>    <h2>更新日志</h2>    <h3>Bug 修复</h3>    <ul>     <li><strong>$compile:</strong>      <ul>       <li>do not swallow thrown errors in testsg (<a href="/misc/goto?guid=4958999063103810444">0377c6</a>, <a href="/misc/goto?guid=4958999063213984777">#15629</a>, <a href="/misc/goto?guid=4958999063328645720">#15631</a>)</li>       <li>allow the usage of "$" in isolate scope property alias (<a href="/misc/goto?guid=4958999063443771305">7f2af3</a>, <a href="/misc/goto?guid=4958998115924603323">#15594</a>)</li>      </ul> </li>     <li><strong>$location:</strong> correctly handle external URL change during <code>$digest</code> (<a href="/misc/goto?guid=4958999063601729745">b60761</a>, <a href="/misc/goto?guid=4958999063714864592">#11075</a>, <a href="/misc/goto?guid=4958999063830152464">#12571</a>, <a href="/misc/goto?guid=4958999063940459617">#15556</a>, <a href="/misc/goto?guid=4958999064054451150">#15561</a>)</li>     <li><strong>$browser:</strong> detect external changes in <code>history.state</code> (<a href="/misc/goto?guid=4958999064165517782">fa50fb</a>)</li>     <li><strong>$resource:</strong>      <ul>       <li>do not swallow errors in <code>success</code> callback (<a href="/misc/goto?guid=4958999064276967767">27146e</a>, <a href="/misc/goto?guid=4958999064398333315">#15624</a>, <a href="/misc/goto?guid=4958999064515941362">#15628</a>)</li>       <li>correctly unescape <code>/\.</code> even if <code>\.</code> comes from a param value (<a href="/misc/goto?guid=4958999064631261904">419a48</a>, <a href="/misc/goto?guid=4958999064743415040">#15627</a>)</li>       <li>delete <code>$cancelRequest()</code> in <code>toJSON()</code> (<a href="/misc/goto?guid=4958999064858828625">086c5d</a>, <a href="/misc/goto?guid=4958998116373713866">#15244</a>)</li>      </ul> </li>     <li><strong>$animate:</strong> correctly animate transcluded clones with <code>templateUrl</code> (<a href="/misc/goto?guid=4958999064995273865">f01212</a>, <a href="/misc/goto?guid=4958999065106385019">#15510</a>, <a href="/misc/goto?guid=4958999065204399920">#15514</a>)</li>     <li><strong>$route:</strong> make asynchronous tasks count as pending requests (<a href="/misc/goto?guid=4958999065310991116">eb968c</a>, <a href="/misc/goto?guid=4958999065400126264">#14159</a>)</li>     <li><strong>$parse:</strong> make sure ES6 object computed properties are watched (<a href="/misc/goto?guid=4958999065495534555">5e418b</a>, <a href="/misc/goto?guid=4958999065591694746">#15678</a>)</li>     <li><strong>$sniffer:</strong> allow <code>history</code> for NW.js apps (<a href="/misc/goto?guid=4958999065679500232">4a593d</a>, <a href="/misc/goto?guid=4958999065770925898">#15474</a>, <a href="/misc/goto?guid=4958999065866071530">#15633</a>)</li>     <li><strong>input:</strong> fix <code>step</code> validation for <code>input[type=number/range]</code> (<a href="/misc/goto?guid=4958999065949073721">c95a67</a>, <a href="/misc/goto?guid=4958999066026731407">#15504</a>, <a href="/misc/goto?guid=4958999066119810589">#15506</a>)</li>     <li><strong>select:</strong> keep <code>ngModel</code> when selected option is recreated by <code>ngRepeat</code> (<a href="/misc/goto?guid=4958999066212952825">131af8</a>, <a href="/misc/goto?guid=4958999066319933394">#15630</a>, <a href="/misc/goto?guid=4958999066403503503">#15632</a>)</li>     <li><strong>ngValue:</strong> correctly update the <code>value</code> property when <code>value</code> is undefined (<a href="/misc/goto?guid=4958999066482331290">05aab6</a> <a href="/misc/goto?guid=4958999066580193385">#15603</a>, <a href="/misc/goto?guid=4958999066684799995">#15605</a>)</li>     <li><strong>angularInit:</strong> allow auto-bootstraping from inline script (<a href="/misc/goto?guid=4958999066788365395">bb464d</a>, <a href="/misc/goto?guid=4958998116096460407">#15567</a>, <a href="/misc/goto?guid=4958998116188511960">#15571</a>)</li>     <li><strong>ngMockE2E:</strong> ensure that mocked <code>$httpBackend</code> uses correct <code>$browser</code> (<a href="/misc/goto?guid=4958999066955870729">bd63b2</a>, <a href="/misc/goto?guid=4958999067056619180">#15593</a>)</li>    </ul>    <h3>新功能</h3>    <ul>     <li><strong>ngModel:</strong> add <code>$overrideModelOptions</code> support (<a href="/misc/goto?guid=4958999067183324006">2546c2</a>, <a href="/misc/goto?guid=4958999067297919823">#15415</a>)</li>     <li><strong>$parse:</strong> allow watching array/object literals with non-primitive values (<a href="/misc/goto?guid=4958999067424243667">25f008</a>, <a href="/misc/goto?guid=4958999067544919546">#15301</a>)</li>    </ul>    <h2>下载</h2>    <ul>     <li><a href="/misc/goto?guid=4958999067679331359" rel="nofollow"><strong>Source code</strong> (zip)</a></li>     <li><a href="/misc/goto?guid=4958999067810584317" rel="nofollow"><strong>Source code</strong> (tar.gz)</a></li>    </ul>    <p>本站原创,转载时保留以下信息:<br /> 本文转自:深度开源(open-open.com)<br /> 原文地址:<a href="http://www.open-open.com/news/view/54dad1b0">http://www.open-open.com/news/view/54dad1b0</a></p>