AngularJS 1.5.0-rc.1 發布,HTML 的 Web 框架

jopen 8年前發布 | 7K 次閱讀


AngularJS 1.5.0-rc.1 發布,HTML 的 Web 框架

AngularJS 1.5.0-rc.1 發布,此版本更新內容如下:

重大改進:

新特性:

  • $compile:

    • Allow ES6 classes as controllers withbindToController: true(8955cfb6)

    • Allow ES6 classes as controllers withbindToController: true(b0248b78)

  • $compileProvider: allowcomponent()helper to copy over custom annotations (90975db5,#13741)

  • $injector: support instantiating classes. (8b6b4282)

  • component:

  • ngMock: add support for$animate.closeAndFlush()(e1def1b8,#13005, #13576, #13707)

  • ngMock.$componentController: add helper to instantiate controllers for components (dd14e0c4,#13683, #13711)

此外還有大量的 bug 修復,詳細改進請看發行說明

下載:https://github.com/angular/angular.js/archive/v1.5.0-rc.1.zip 

來自: http://www.oschina.net//news/69916/angularjs-1-5-0-rc1

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