|
欢迎加入运维网交流群:263444886
Angular.js v1.5.7 发布了,改进记录如下:
Bugs 修复:
- $compile:
- don't add merged attributes twice to $attrs(ebbaa4ac,#8159, #14737)
- cope with $onChanges hooks throwing(3749c858,#14444, #14463)
- $parse: allow arguments to contain filter chains(cc6dcb4b,#4175, #4168, #14720)
- $routeProvider: do not deep-copy route definition objects(6d0dcca6,#14478, #14699, #14750)
- input[email]: improve email address validation(f423dc6b,#14719)
- ngMessages: create new scope for ngMessage, clean it up correctly(56f33af8,#14307)
- ngMessagesInclude: don't break on empty (or whitespace-only) templates(01b8772c,#12941, #14726)
ngMock#$controller: properly assign bindings to all types of controllers (e.g.>
- ngMockE2E: allow $httpBackend.passThrough() to work when ngMock is loaded(6685043a,#1434, #13124)
- ngSanitize: call attribute setter in linky for all links(c4fad6ad,#14707)
新特性:
- limitTo: add support for array-like objects(b03957f0,#14657, #14694)
- orderBy: add support for custom comparators(2e33d170,#13238, #14455, #5123, #8112, #10368, #14468)
下载地址:https://github.com/angular/angular.js/releases/tag/v1.5.7
|
|
|