This repository has been archived by the owner on Apr 12, 2024. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(loader): use
false
as default value for transclude
in compone…
…nt helper The default value of for transclude in component helper is now `false`. The change is motivated by the fact that using `transclude: true` when not necessary made component unusable in conjunction with structural directives that also require transclusion such as `ng-switch-when` and `ng-repeat`. Closes #13566 Closes #13581 BREAKING CHANGE: Angular 1.5.0.beta.2 introduced the `module.component` helper where `transclude` was true by default. This changes the default for `transclude` to `false`. If you created components that expected transclusion then you must change your code to specify `transclude: true`.
- Loading branch information
1 parent
b0248b7
commit 6a47c0d
Showing
2 changed files
with
6 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters