| 注册
请输入搜索内容

热门搜索

Java Linux MySQL PHP JavaScript Hibernate jQuery Nginx
jopen
8年前发布

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

   <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>don't throw tplrt error when there is whitespace around a top-level comment (<a href="/misc/goto?guid=4958996673242640297">12752f</a> <a href="/misc/goto?guid=4958994631968214723">#15108</a>)</li>       <li>clean up <code>@</code>-binding observers when re-assigning bindings (<a href="/misc/goto?guid=4958996673360730813">f3cb6e</a> <a href="/misc/goto?guid=4958996673452896283">#15268</a>)</li>       <li>set attribute value even if <code>ngAttr*</code> contains no interpolation (<a href="/misc/goto?guid=4958996673551364553">229799</a> <a href="/misc/goto?guid=4958996673644866268">#15133</a>)</li>       <li><code>bindToController</code> should work without <code>controllerAs</code> (<a href="/misc/goto?guid=4958996673730468690">944989</a> <a href="/misc/goto?guid=4958996673835919967">#15088</a>)</li>       <li>do not overwrite values set in <code>$onInit()</code> for <code><</code>-bound literals (<a href="/misc/goto?guid=4958996673926301973">07e1ba</a> <a href="/misc/goto?guid=4958996674010744262">#15118</a>)</li>       <li>avoid calling <code>$onChanges()</code> twice for <code>NaN</code> initial values (<a href="/misc/goto?guid=4958996674109945194">0cf5be</a>)</li>      </ul> </li>     <li><strong>$location:</strong> prevent infinite digest with IDN urls in Edge (<a href="/misc/goto?guid=4958996674205181809">4bf892</a> <a href="/misc/goto?guid=4958996674294361330">#15217</a>)</li>     <li><strong>$rootScope:</strong> correctly handle adding/removing watchers during <code>$digest</code> (<a href="/misc/goto?guid=4958996674391536376">a9708d</a> <a href="/misc/goto?guid=4958996674483243143">#15422</a>)</li>     <li><strong>$sce:</strong> fix <code>adjustMatcher</code> to replace multiple <code>*</code> and <code>**</code> (<a href="/misc/goto?guid=4958996674574207489">78eecb</a>)</li>     <li><strong>jqLite:</strong> silently ignore <code>after()</code> if element has no parent (<a href="/misc/goto?guid=4958996674666605533">77ed85</a> <a href="/misc/goto?guid=4958996674766686066">#15331</a>)</li>     <li><strong>input[radio]:</strong> use non-strict comparison for checkedness (<a href="/misc/goto?guid=4958996674858662996">593a50</a>)</li>     <li><strong>select, ngOptions:</strong>      <ul>       <li>let <code>ngValue</code> take precedence over option text with multiple interpolations (<a href="/misc/goto?guid=4958996674952763604">5b7ec8</a> <a href="/misc/goto?guid=4958996675044173589">#15413</a>)</li>       <li>don't add comment nodes as empty options (<a href="/misc/goto?guid=4958996675133580107">1d29c9</a> <a href="/misc/goto?guid=4958996675227279973">#15454</a>)</li>      </ul> </li>     <li><strong>ngClassOdd/Even:</strong> add/remove the correct classes when expression/<code>$index</code> change simultaneously (<a href="/misc/goto?guid=4958996675320670170">e3d020</a>)</li>     <li><strong>$sanitize:</strong> reduce stack height in IE <= 11 (<a href="/misc/goto?guid=4958996675416737006">862dc2</a> <a href="/misc/goto?guid=4958996675513626169">#14928</a>)</li>     <li><strong>ngMock/$controller:</strong> respect <code>$compileProvider.preAssignBindingsEnabled()</code> (<a href="/misc/goto?guid=4958996675607905650">75c83f</a>)</li>    </ul>    <h3>新功能</h3>    <ul>     <li><strong>bootstrap:</strong> do not bootstrap from unknown schemes with a different origin (<a href="/misc/goto?guid=4958996675690394025">bdeb33</a> <a href="/misc/goto?guid=4958996675781561507">#15428</a>)</li>     <li><strong>$anchorScroll:</strong> convert numeric hash targets to string (<a href="/misc/goto?guid=4958996675880992163">a52640</a> <a href="/misc/goto?guid=4958996675974989957">#14680</a>)</li>     <li><strong>$compile:</strong>      <ul>       <li>add <code>preAssignBindingsEnabled</code> option (<a href="/misc/goto?guid=4958996676065877984">f86576</a>)</li>       <li>throw error when directive name or factory function is invalid (<a href="/misc/goto?guid=4958996676162307522">5c9399</a> <a href="/misc/goto?guid=4958996676249835701">#15056</a>)</li>      </ul> </li>     <li><strong>$controller:</strong> throw when requested controller is not registered (<a href="/misc/goto?guid=4958996676346894856">9ae793</a> <a href="/misc/goto?guid=4958996676444772591">#14980</a>)</li>     <li><strong>$location:</strong> add support for selectively rewriting links based on attribute (<a href="/misc/goto?guid=4958996676525975721">a4a222</a>)</li>     <li><strong>$resource:</strong> pass <code>status</code>/<code>statusText</code> to success callbacks (<a href="/misc/goto?guid=4958996676621382557">a8da25</a> <a href="/misc/goto?guid=4958996676710187763">#8341</a> <a href="/misc/goto?guid=4958996676710187763">#8841</a>)</li>     <li><strong>ngSwitch:</strong> allow multiple case matches via optional attribute <code>ngSwitchWhenSeparator</code> (<a href="/misc/goto?guid=4958996676818958516">0e1651</a> <a href="/misc/goto?guid=4958996676910545505">#3410</a> <a href="/misc/goto?guid=4958996677017543636">#3516</a>)</li>    </ul>    <h3>性能改进</h3>    <ul>     <li><strong>all:</strong> don't trigger digests after enter/leave of structural directives (<a href="/misc/goto?guid=4958996677105857919">c57779</a> <a href="/misc/goto?guid=4958995692086112930">#15322</a>)</li>     <li><strong>$compile:</strong> validate <code>directive.restrict</code> property on directive init (<a href="/misc/goto?guid=4958996677227853120">31d464</a>)</li>     <li><strong>ngOptions:</strong> avoid calls to <code>element.value</code> (<a href="/misc/goto?guid=4958996677313535627">e269ad</a>)</li>     <li><strong>jqLite:</strong> move bind/unbind definitions out of the loop (<a href="/misc/goto?guid=4958996677417272496">7717b9</a>)</li>    </ul>    <h2>下载</h2>    <ul>     <li><a href="/misc/goto?guid=4958996677502711660" rel="nofollow"><strong>Source code</strong> (zip)</a></li>     <li><a href="/misc/goto?guid=4958996677599734125" 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/1d39c20d">http://www.open-open.com/news/view/1d39c20d</a></p>