红联Linux门户
Linux帮助

AngularJS 1.3.1发布

发布时间:2014-11-01 09:13:54来源:红联作者:empast
AngularJS 1.3.1 发布。

新版本改进记录包括:

Bug Fixes

$compile: returning null when an optional controller is not found (2cd5b4ec,#9404, #9392)

$observe: check if the attribute is undefined (531a8de7,#9707, #9720)

$parse: support dirty-checking objects with null prototype (28661d1a,#9568)

$sce: use msie instead of $document[0].documentMode (45252c3a,#9661)

$templateRequest: ignore JSON Content-Type header and content (1bd473eb,#5756, #9619)

i18n: rename datetimeSymbols to be camelCase (94f5a285)

loader: fix double spaces (8b2f1a47,#9630)

ngMock: $httpBackend should match data containing Date objects correctly (1025f6eb,#5127)

ngSanitize: attribute name: xmlns:href -> xlink:href (4cccf0f2,#9769)

select: assign result of track exp to element value (4b4098bf,#9718, #9592)

templateRequest: allow empty html template (52ceec22,#9581)

testability: escape regex chars in findBindings if using exactMatch(02aa4f4b,#9595, #9600)

Features

$compile: allow $watchCollection to be used in bi-directional bindings (40bbc981,#9725)

ngSanitize: accept SVG elements and attributes (a54b25d7,#9578, #9751)

下载地址:https://github.com/angular/angular.js/archive/v1.3.1.zip

来自:开源中国社区
文章评论

共有 0 条评论