共享茶室加盟为什么不能做割韭菜模式
Angular.js v1.5.10 发布了。
更新内容:
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)
下载地址: