Angular.Js v1.5.8 發布,JavaScript MV*框架
AngularJS是一款開源的JavaScript MV*(MVW、MVVM、MVC)框架,目前由Google維護。AngularJS彌補了HTML在構建應用方面的不足,其通過使用標識符(directives)結構,來擴展Web應用中的HTML詞匯,使開發者可以使用HTML來聲明動態內容,從而使得Web開發和測試工作變得更加容易。AngularJS最初由Mi?ko Hevery和Adam Abrons于2009年開發,后來成為了Google公司的項目。
更新日志
Bug修復
- $animate: do not get affected by custom, enumerable properties on
Object.prototype
(181e4401, #14804, #14830) - $compile: ensure
$doCheck
hooks can be defined in the controller constructor (3010ed4e, #14811) - $injector: fix class detection RegExp (4724d56c, #14533)
- $jsonpCallbacks: do not overwrite callbacks added by other apps (1778d347, #14824)
- $timeout: make $flush handle new $timeouts added in $timeout callbacks (1a387ba5, #5420, #14686)
- copy: fix handling of typed subarrays (1645924d, #14842, #14845)
- modules: allow modules to be loaded in any order when using
angular-loader
(98e4a220, #9140, #14794) - ngAnimate: allow removal of class that is scheduled to be added with requestAnimationFrame (7ccfe92b, #14582)
- ngMocks: allow
ErrorAddingDeclarationLocationStack
to be recognized as anError
(c6074dc3, #13821, #14344) - ngOptions: don't duplicate groups with falsy values (c3bfd7f5)
- ngTransclude:
- ensure that fallback content is compiled and linked correctly (c405f88b, #14787)
- only compile fallback content if necessary (159a68ec, #14768, #14765, #14775)
新特性
- $compile: backport $doCheck (de59ca71, #14656)
- $jsonpCallbacks: new service to abstract how JSONP callbacks are handled (a8cacfe9, #14795)
- $q: implement $q.race (b9a56d58, #12929, #14757)
- $resource: pass the resource to a dynamic param functions (a126fcfe, #4899)
- $swipe: add pointer support (f797f83c, #14061, #14791)
- filterFilter: allow overwriting the special
$
property name (33514ec3, #13313)
性能改進
- $compile: wrap try/catch of collect comment directives into a function to avoid V8 deopt (acd45518, #14848)
下載
本文由用戶 jopen 自行上傳分享,僅供網友學習交流。所有權歸原作者,若您的權利被侵害,請聯系管理員。轉載本站原創文章,請注明出處,并保留原始鏈接、圖片水印。本站是一個以用戶分享為主的開源技術平臺,歡迎各類分享!