compile.js (angular.js-1.7.9) | : | compile.js (angular.js-1.8.0) | ||
---|---|---|---|---|
skipping to change at line 1028 | skipping to change at line 1028 | |||
* Replace Template: <span ng-class="{'else': else}" ng-show="otherCondition"></ span> | * Replace Template: <span ng-class="{'else': else}" ng-show="otherCondition"></ span> | |||
* Result: <span ng-class="{'something': something} {'else': else}" ng-show="!co ndition otherCondition"></span> | * Result: <span ng-class="{'something': something} {'else': else}" ng-show="!co ndition otherCondition"></span> | |||
* ``` | * ``` | |||
* | * | |||
* See issue [#5695](https://github.com/angular/angular.js/issues/5695). | * See issue [#5695](https://github.com/angular/angular.js/issues/5695). | |||
* | * | |||
* #### Directives are not deduplicated before compilation | * #### Directives are not deduplicated before compilation | |||
* | * | |||
* When the original node and the replace template declare the same directive(s) , they will be | * When the original node and the replace template declare the same directive(s) , they will be | |||
* {@link guide/compiler#double-compilation-and-how-to-avoid-it compiled twice} because the compiler | * {@link guide/compiler#double-compilation-and-how-to-avoid-it compiled twice} because the compiler | |||
* does not deduplicate them. In many cases, this is not noticable, but e.g. {@l ink ngModel} will | * does not deduplicate them. In many cases, this is not noticeable, but e.g. {@ link ngModel} will | |||
* attach `$formatters` and `$parsers` twice. | * attach `$formatters` and `$parsers` twice. | |||
* | * | |||
* See issue [#2573](https://github.com/angular/angular.js/issues/2573). | * See issue [#2573](https://github.com/angular/angular.js/issues/2573). | |||
* | * | |||
* #### `transclude: element` in the replace template root can have unexpected e ffects | * #### `transclude: element` in the replace template root can have unexpected e ffects | |||
* | * | |||
* When the replace template has a directive at the root node that uses | * When the replace template has a directive at the root node that uses | |||
* {@link $compile#-transclude- `transclude: element`}, e.g. | * {@link $compile#-transclude- `transclude: element`}, e.g. | |||
* {@link ngIf} or {@link ngRepeat}, the DOM structure or scope inheritance can be incorrect. | * {@link ngIf} or {@link ngRepeat}, the DOM structure or scope inheritance can be incorrect. | |||
* See the following issues: | * See the following issues: | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added |