搜索

首页  >  问答  >  正文

angular.js - 关于angularjs各个版本的区别

如题,现在angularjs的两个版本(1.3.x 1.4.x)的区别是什么?

phpcn_u1582phpcn_u15822744 天前723

全部回复(1)我来回复

  • 仅有的幸福

    仅有的幸福2017-05-15 16:58:53

    主要修复了一些 bug ,还有改进了 ngAnimate。
    主要更新内容都在这里
    https://github.com/angular/angular.js/blob/master/CHANGELOG.md

    1.4.7 dark-luminescence (2015-09-29)
    Bug Fixes
    
    $compile: 
    
    use createMap() for $$observe listeners when initialized
    from attr interpolation (5a98e806, #10446)
    
    $parse:
    block assigning to fields of a constructor (a7f3761e, #12860)
    do not convert to string computed properties multiple times         
    (698af191)
    filters: ensure formatNumber observes i18n decimal separators 
    (4994acd2, #10342, #12850)
    
    jqLite: 
    properly handle dash-delimited node names in   
    jqLiteBuildFragment (cdd1227a, #10617, #12759)
    
    ngAnimate:
    ensure anchoring uses body as a container when needed (9d3704ca, 
    #12872)
    callback detection should only use RAF when necessary (fa8c399f)
    ngMessages: prevent race condition with ngAnimate (7295c60f,     
    #12856, #12903)
    
    ngOptions:
    skip comments when looking for option elements (68d4dc5b, #12190)
    prevent frozen select ui in IE (dbc69851, #11314, #11795)
    Features
    
    $animateCss: 
    add support for temporary styles via cleanupStyles     
    (e52d731b, #12930)
    $http: add $xhrFactory service to enable creation of custom xhr     objects (7a413df5, #2318, #9319, #12159)
    
    总之 ngAnimate 的改动比较大。
    

    回复
    0
  • 取消回复