Angular.Js v1.5.6 發布,JavaScript MV*框架

jopen 8年前發布 | 9K 次閱讀 MVW MVVM MVC JavaScript Angular.JS

AngularJS是一款開源的JavaScript MV*(MVW、MVVM、MVC)框架,目前由Google維護。AngularJS彌補了HTML在構建應用方面的不足,其通過使用標識符(directives)結構,來擴展Web應用中的HTML詞匯,使開發者可以使用HTML來聲明動態內容,從而使得Web開發和測試工作變得更加容易。AngularJS最初由Mi?ko Hevery和Adam Abrons于2009年開發,后來成為了Google公司的項目。

更新日志

Bug 修復

  • $browser: set the url even if the browser transforms it (743b33ab#14427#14499)
  • $compile:
    • properly bind context to linking functions for directives with templateUrl (5ae72dc7)
    • always use the DDO as this in pre-/post-linking functions (47bc98a1#9306)
    • don't run unnecessary update to one-way bindings (30479647#14546#14580)
    • removing unnecessary white space in element-transclusion comments (1116a96d#14549#14550)
    • properly handle setting srcset to undefined (308f22ba#14470#14493)
  • $injector:
    • add workaround for class stringification in Chrome v50/51 (7550b7bd#14531)
    • add workaround for fat-arrow stringification in Chrome v50/51 (bb730704#14487#14495)
  • $templateRequest: trust empty templates in $templateCache as well (10955969#14479#14496)
  • filters: always call splice() with 2 arguments or more (6f1fae8a#14467#14489)
  • ng-bind-html: watch the unwrapped value using $sce.valueOf() (instead of toString()) (1c1c9b27#14526#14527)
  • ngAnimate:
  • ngMessages: do not compile ngMessagesInclude template if scope is destroyed (69d9072d#12695#14640)
  • ngMock:
    • match HTTP request regardless of the order of query params (363fb16c#12762)
    • pass eventHandlers to $httpBackend if passThrough is active (147650b3#14471)

新功能

  • $compile: support omitting required controller name if same as the local name (8965d57a#14513)
  • $parse: Add support for ES6 object initializers (1c9b9e24)

性能改進

下載

 

 

 本文由用戶 jopen 自行上傳分享,僅供網友學習交流。所有權歸原作者,若您的權利被侵害,請聯系管理員。
 轉載本站原創文章,請注明出處,并保留原始鏈接、圖片水印。
 本站是一個以用戶分享為主的開源技術平臺,歡迎各類分享!