设为首页收藏本站

LUPA开源社区

 找回密码
 注册
文章 帖子 博客
LUPA开源社区 首页 业界资讯 软件追踪 查看内容

AngularJS 1.3.12/1.4.0 Beta3发布

2015-2-6 16:56| 发布者: joejoe0332| 查看: 751| 评论: 0|原作者: oschina|来自: oschina

摘要: 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 a ...

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:

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

  • angular.copy: support copying TypedArrays (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)

  • $parse new 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 配合良好。


酷毙

雷人

鲜花

鸡蛋

漂亮
  • 快毕业了,没工作经验,
    找份工作好难啊?
    赶紧去人才芯片公司磨练吧!!

最新评论

关于LUPA|人才芯片工程|人才招聘|LUPA认证|LUPA教育|LUPA开源社区 ( 浙B2-20090187 浙公网安备 33010602006705号   

返回顶部