angular.js - 关于angularjs各个版本的区别
phpcn_u1582
phpcn_u1582 2017-05-15 16:56:53
0
1
726

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

phpcn_u1582
phpcn_u1582

全部回复(1)
仅有的幸福

主要修复了一些 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 的改动比较大。
热门教程
更多>
最新下载
更多>
网站特效
网站源码
网站素材
前端模板