Angular.Js v1.5.6 发布,JavaScript MV*框架
jopen 8年前
<p style="text-align: center;"><img alt="" src="https://simg.open-open.com/show/42418ea2d6d88684f367b335027dbbf3.png" /></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>$browser:</strong> set the url even if the browser transforms it (<a href="/misc/goto?guid=4958991008584128021">743b33ab</a>, <a href="/misc/goto?guid=4958991008700594104">#14427</a>, <a href="/misc/goto?guid=4958991008788051589">#14499</a>)</li> <li><strong>$compile:</strong> <ul> <li>properly bind context to linking functions for directives with <code>templateUrl</code> (<a href="/misc/goto?guid=4958991008873732445">5ae72dc7</a>)</li> <li>always use the DDO as <code>this</code> in pre-/post-linking functions (<a href="/misc/goto?guid=4958991008964880329">47bc98a1</a>, <a href="/misc/goto?guid=4958991009057700257">#9306</a>)</li> <li>don't run unnecessary update to one-way bindings (<a href="/misc/goto?guid=4958991009148727819">30479647</a>, <a href="/misc/goto?guid=4958991009245035024">#14546</a>, <a href="/misc/goto?guid=4958991009343577042">#14580</a>)</li> <li>removing unnecessary white space in element-transclusion comments (<a href="/misc/goto?guid=4958991009426171871">1116a96d</a>, <a href="/misc/goto?guid=4958991009530115518">#14549</a>, <a href="/misc/goto?guid=4958991009609971471">#14550</a>)</li> <li>properly handle setting <code>srcset</code> to undefined (<a href="/misc/goto?guid=4958991009701866727">308f22ba</a>, <a href="/misc/goto?guid=4958991009796727424">#14470</a>, <a href="/misc/goto?guid=4958991009898361366">#14493</a>)</li> </ul> </li> <li><strong>$injector:</strong> <ul> <li>add workaround for class stringification in Chrome v50/51 (<a href="/misc/goto?guid=4958991009982694848">7550b7bd</a>, <a href="/misc/goto?guid=4958991010074730490">#14531</a>)</li> <li>add workaround for fat-arrow stringification in Chrome v50/51 (<a href="/misc/goto?guid=4958991010163972413">bb730704</a>, <a href="/misc/goto?guid=4958991010257867831">#14487</a>, <a href="/misc/goto?guid=4958991010349539172">#14495</a>)</li> </ul> </li> <li><strong>$templateRequest:</strong> trust empty templates in <code>$templateCache</code> as well (<a href="/misc/goto?guid=4958991010453394505">10955969</a>, <a href="/misc/goto?guid=4958991010536918338">#14479</a>, <a href="/misc/goto?guid=4958991010623520962">#14496</a>)</li> <li><strong>filters:</strong> always call <code>splice()</code> with 2 arguments or more (<a href="/misc/goto?guid=4958991010718048270">6f1fae8a</a>, <a href="/misc/goto?guid=4958991010814787160">#14467</a>, <a href="/misc/goto?guid=4958991010901602592">#14489</a>)</li> <li><strong>ng-bind-html:</strong> watch the unwrapped value using <code>$sce.valueOf()</code> (instead of <code>toString()</code>) (<a href="/misc/goto?guid=4958991010997742151">1c1c9b27</a>, <a href="/misc/goto?guid=4958991011098181131">#14526</a>, <a href="/misc/goto?guid=4958991011184627439">#14527</a>)</li> <li><strong>ngAnimate:</strong> <ul> <li>don't break on anchored animations without duration (<a href="/misc/goto?guid=4958991011275875473">21b76aed</a>, <a href="/misc/goto?guid=4958991011361348898">#14641</a>, <a href="/misc/goto?guid=4958991011460255721">#14645</a>)</li> <li>properly handle empty jqLite collections (<a href="/misc/goto?guid=4958991011548837484">9f480257</a>, <a href="/misc/goto?guid=4958991011648240996">#14558</a>, <a href="/misc/goto?guid=4958991011740374659">#14559</a>)</li> </ul> </li> <li><strong>ngMessages:</strong> do not compile ngMessagesInclude template if scope is destroyed (<a href="/misc/goto?guid=4958991011826113160">69d9072d</a>, <a href="/misc/goto?guid=4958991011917976593">#12695</a>, <a href="/misc/goto?guid=4958991012013640633">#14640</a>)</li> <li><strong>ngMock:</strong> <ul> <li>match HTTP request regardless of the order of query params (<a href="/misc/goto?guid=4958991012106788639">363fb16c</a>, <a href="/misc/goto?guid=4958991012207764474">#12762</a>)</li> <li>pass eventHandlers to $httpBackend if passThrough is active (<a href="/misc/goto?guid=4958991012299323139">147650b3</a>, <a href="/misc/goto?guid=4958991012389704331">#14471</a>)</li> </ul> </li> </ul> <h2>新功能</h2> <ul> <li><strong>$compile:</strong> support omitting required controller name if same as the local name (<a href="/misc/goto?guid=4958991012483849496">8965d57a</a>, <a href="/misc/goto?guid=4958991012581700638">#14513</a>)</li> <li><strong>$parse:</strong> Add support for ES6 object initializers (<a href="/misc/goto?guid=4958991012670024431">1c9b9e24</a>)</li> </ul> <h3>性能改进</h3> <ul> <li><strong>$rootScope:</strong> make queues more efficient (<a href="/misc/goto?guid=4958991012768314598">51b78f61</a>, <a href="/misc/goto?guid=4958991012859659020">#14545</a>)</li> <li><strong>ngAnimate:</strong> listen for document visibility changes (<a href="/misc/goto?guid=4958991012952334228">b377d6b0</a>, <a href="/misc/goto?guid=4958991013041848220">#14568</a>)</li> <li><strong>ngClass:</strong> improve even-odd checking (<a href="/misc/goto?guid=4958991013130996862">cf1b1755</a>)</li> </ul> <h2>下载</h2> <ul> <li><a href="/misc/goto?guid=4958991013223816581" rel="nofollow"><strong>Source code</strong> (zip)</a></li> <li><a href="/misc/goto?guid=4958991013317749230" rel="nofollow"><strong>Source code</strong> (tar.gz)</a></li> </ul> <p> </p> <p style="text-align: center;"> </p>