设为首页收藏本站

LUPA开源社区

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

AngularJS 1.3.0-RC.0发布

2014-9-1 19:15| 发布者: joejoe0332| 查看: 2198| 评论: 0|原作者: oschina|来自: oschina

摘要:   AngularJS 1.3.0-RC.0 发布,代号:sonic-boltification,更新内容如下:Bug 修复$animate:wait two until two digests are over until enabling animations (92576743,#8844)ensure guarded animations conside ...

  AngularJS 1.3.0-RC.0 发布,代号:sonic-boltification,更新内容如下:


Bug 修复

  • $animate:

  • $browser: detect changes to the browser url that happened in sync (3be00df4,#6976)

  • $compile: use the correct namespace for transcluded svg elements (cb73a37c,#8808, #8816)

  • $location: always resolve relative links in html5mode to <base> url (22948807,#8492, #8172)

  • $parse: properly handle dots at the end of identifiers (8ac90357,#4613, #4912, #8559)

  • Angular: remove duplicate nodeName_ references (a4520a74)

  • currencyFilter: pass through null and undefined values (c2aaddbe,#8605)

  • docs: don't throw exception on the 404 page (550ba01b,#8518)

  • input:

    • validate minlength/maxlength for non-string values (77ce5b89,#7967, #8811)

    • allow to use seconds in input[time] and input[datetime-local](5f90340a)

    • use year 1970 instead of 1900 for input[time](29f0b568)

  • ngBindHtml: throw error if interpolation is used in expression (cd21602d,#8824)

  • ngEventDirs: execute blur and focus expression using scope.$evalAsync(719c747c,#4979, #5945, #8803, #6910, #5402)

  • ngModel:

    • always format the viewValue as a string for text, url and email types (1eda1836)

    • allow non-assignable binding when getterSetter is used (ab878a6c,#8704)

    • treat undefined parse responses as parse errors (db044c40)

  • ngRepeat: improve errors for duplicate items (0604bb7b)

  • ngSwitch: avoid removing DOM nodes twice within watch operation (c9b0bfec,#8662)

  • numberFilter: pass through null and undefined values (2ae10f67,#8605, #8842)


新特性

  • core:

    • add angular.reloadWithDebugInfo() (41c1b88)

  • $animate:

    • use promises instead of callbacks for animations (bf0f5502)

    • coalesce concurrent class-based animations within a digest loop (2f4437b3)

  • $compile:

  • $compile/ngBind: allow disabling binding info (3660fd09)

  • $http: implement mechanism for coalescing calls to $apply in $http (ea6fc6e6,#8736, #7634, #5297)

  • $rootScope: implement $applyAsync to support combining calls to $apply into a single digest. (e94d454b)

  • $templateRequest: introduce the $templateRequest service (a70e2833)

  • filter: allow to define the timezone for formatting dates (4739b1d9)

  • filterFilter: pass index to function predicate (46343c60,#654)

  • input: allow to define the timezone for parsing dates (cc6fc199,#8447)

  • minErr: allow specifying ErrorConstructor in minErr constructor (a6bd4bc8)

  • ngModel: provide validation API functions for sync and async validations (2ae4f40b)

  • ngRoute: alias string as redirectTo property in .otherwise() (3b5d75c0,#7794)

  • testability: add $$testability service (85880a64)


性能提升

  • $compile:

    • add debug classes in compile phase (e0489abd)

    • only iterate over elements with link functions (fdf9989f,#8741)

  • nodeName_: simplify the code and reduce the number of DOM calls (5a1a0c96)

  • select: execute render after $digest cycle (6f7018d5,#8825)


Breaking Changes


酷毙

雷人

鲜花

鸡蛋

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

最新评论

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

返回顶部