转载

AngularJS 1.3.12/1.4.0 Beta3 发布

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

AngularJS 1.3.12/1.4.0 Beta2 发布,AngularJS 1.3.12 改进内容如下:

Bug 修复

  • $controller:throw better error when controller expression is bad ( 632b2ddd , #10875 , #10910 )

  • $parse:remove references to last arguments to a fn call ( 7caad220 , #10894 )

  • ngRoute:dont duplicate optional params into query ( f41ca4a5 , #10689 )

  • ngScenario:Allow ngScenario to handle lazy-loaded and manually bootstrapped applications ( 0bcd0872 , #10723 )

  • validators:maxlength should use viewValue for $isEmpty ( abd8e2a9 , #10898 )

新特性

  • ngMocks:cleanup $inject annotations after each test ( 6ec59460 )

AngularJS 1.4.0 beta2 改进内容如下:

Bug 修复

  • $compile:

    • do not initialize optional '&' binding if attribute not specified ( 6a38dbfd , #6404 , #9216 )

    • respect return value from controller constructor ( 62d514b0 )

  • $controller:throw better error when controller expression is bad ( dda65e99 , #10875 , #10910 )

  • $parse:

    • handle null targets at assign ( 2e5a7e52 )

    • remove references to last arguments to a fn call ( e61eae1b , #10894 )

  • a:don't reload if there is only a name attribute ( d729fcf0 , #6273 , #10880 )

  • angular.copy:support copying TypedArray s ( aa0f6449 , #10745 )

  • filter:format timezone correctly in the case that UTC timezone is used ( 8c469191 , #9359 )

  • ngRoute:dont duplicate optional params into query ( 27bf2ce4 , #10689 )

  • ngScenario:allow ngScenario to handle lazy-loaded and manually bootstrapped applications ( c69caa7b , #10723 )

  • validators:maxlength should use viewValue for $isEmpty ( bfcf9946 , #10898 )

新特性

  • $compile:allow using bindToController as object, support both new/isolate scopes ( 35498d70 , #10420 , #10467 )

  • filter:support conversion to timezone other than UTC ( c6d8512a , #10858 )

  • ngMocks:cleanup $inject annotations after each test ( 0baa17a3 )

性能提升

  • $scope:Add a property $$watchersCount to scope ( c1500ea7 )

  • $parsenew and more performant parser ( 0d42426 )

重大改进

  • $compile:due to 6a38dbfd , Previously, '&' expressions would always set up a function in the isolate scope. Now, if the binding is marked as optional and the attribute is not specified, no function will be added to the isolate scope.

Angular JS (Angular.JS) 是一组用来开发Web页面的框架、模板以及数据绑定和丰富UI组件。它支持整个开发进程,提供web应用的架构,无需进行手工DOM操作。 AngularJS很小,只有60K,兼容主流浏览器,与 jQuery 配合良好。

AngularJS 1.3.12/1.4.0 Beta3 发布

正文到此结束
Loading...