angular.js - 關於angularjs各個版本的區別
phpcn_u1582
phpcn_u1582 2017-05-15 16:56:53
0
1
742

如題,現在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 的改动比较大。
熱門教學
更多>
最新下載
更多>
網站特效
網站源碼
網站素材
前端模板