转载

AngularJS 1.3.11/1.4.0 Beta2 发布

阿里百川梦想创业大赛,500万创投寻找最赞的APP

AngularJS 1.3.11/1.4.0 Beta2 发布,AngularJS 1.3.11 主要是 bug 修复:

  • $location:don't rewrite when link is shift-clicked ( 939ca37c , #9904 , #9906 )

  • htmlAnchorDirective:

    • remove "element !== target element" check ( 779e3f6b , #10866 )

    • don't add event listener if replaced, ignore event if target is different element ( 837a0775 , #4262 , #10849 )

AngularJS 1.4.0 Beta 2 改进内容如下:

Bug 修复

  • $location:don't rewrite when link is shift-clicked ( 8b33de6f , #9904 , #9906 )

  • $templateRequest:cache downloaded templates as strings ( b3a9bd3a , #10630 , #10646 )

  • filterFilter:throw error if input is not an array ( cea8e751 , #9992 , #10352 )

  • htmlAnchorDirective:

    • remove "element !== target element" check ( 2958cd30 , #10866 )

    • don't add event listener if replaced, ignore event if target is different element ( b146af11 , #4262 , #10849 )

  • ngPluralize:fix wrong text content when count is null/undefined ( 3228d3b4 , #10836 , #10841 )

重大改进

  • filterFilter:due to cea8e751 , Previously, the filter was not applied if used with a non array. Now, it throws an error. This can be worked around by converting an object to an array, using a filter such as https://github.com/petebacondarwin/angular-toArrayFilter

Closes #9992 Closes #10352

正文到此结束
Loading...