Angular.Js v1.5.10 發布,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修復
- $compile:
- don't throw tplrt error when there is whitespace around a top-level comment (12752f #15108)
- clean up
@
-binding observers when re-assigning bindings (f3cb6e #15268) - set attribute value even if
ngAttr*
contains no interpolation (229799 #15133) bindToController
should work withoutcontrollerAs
(944989 #15088)- do not overwrite values set in
$onInit()
for<
-bound literals (07e1ba #15118) - avoid calling
$onChanges()
twice forNaN
initial values (0cf5be)
- $location: prevent infinite digest with IDN urls in Edge (4bf892 #15217)
- $rootScope: correctly handle adding/removing watchers during
$digest
(a9708d #15422) - $sce: fix
adjustMatcher
to replace multiple*
and**
(78eecb) - jqLite: silently ignore
after()
if element has no parent (77ed85 #15331) - input[radio]: use non-strict comparison for checkedness (593a50)
- select, ngOptions:
- ngClassOdd/Even: add/remove the correct classes when expression/
$index
change simultaneously (e3d020) - $sanitize: reduce stack height in IE <= 11 (862dc2 #14928)
- ngMock/$controller: respect
$compileProvider.preAssignBindingsEnabled()
(75c83f)
新功能
- bootstrap: do not bootstrap from unknown schemes with a different origin (bdeb33 #15428)
- $anchorScroll: convert numeric hash targets to string (a52640 #14680)
- $compile:
- $controller: throw when requested controller is not registered (9ae793 #14980)
- $location: add support for selectively rewriting links based on attribute (a4a222)
- $resource: pass
status
/statusText
to success callbacks (a8da25 #8341 #8841) - ngSwitch: allow multiple case matches via optional attribute
ngSwitchWhenSeparator
(0e1651 #3410 #3516)
性能改進
- all: don't trigger digests after enter/leave of structural directives (c57779 #15322)
- $compile: validate
directive.restrict
property on directive init (31d464) - ngOptions: avoid calls to
element.value
(e269ad) - jqLite: move bind/unbind definitions out of the loop (7717b9)
下載
本站原創,轉載時保留以下信息:
本文轉自:深度開源(open-open.com)
原文地址:http://www.baiduhome.net/news/view/1d39c20d
本文由用戶 jopen 自行上傳分享,僅供網友學習交流。所有權歸原作者,若您的權利被侵害,請聯系管理員。
轉載本站原創文章,請注明出處,并保留原始鏈接、圖片水印。
本站是一個以用戶分享為主的開源技術平臺,歡迎各類分享!