1. XenForo 1.5.14 中文版——支持中文搜索!现已发布!查看详情
  2. Xenforo 爱好者讨论群:215909318 XenForo专区

新闻 AngularJS 1.3.12/1.4.0 Beta3 发布 下载

本帖由 漂亮的石头2015-02-05 发布。版面名称:软件资讯

  1. 漂亮的石头

    漂亮的石头 版主 管理成员

    注册:
    2012-02-10
    帖子:
    486,020
    赞:
    46
    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 配合良好。

    [​IMG]
    AngularJS 1.3.12/1.4.0 Beta3 发布下载地址
     
正在加载...