aboutsummaryrefslogtreecommitdiffstats
path: root/docs/content
diff options
context:
space:
mode:
authorIgor Minar2013-10-10 21:35:54 -0700
committerIgor Minar2013-10-11 17:12:24 -0700
commit63c5334c84b7269428c710226764d1f08a36e0d4 (patch)
tree4924c3e942b6d94d7dcc9bfb6ab629fd52491a0f /docs/content
parentb7af76b4c5aa77648cc1bfd49935b48583419023 (diff)
downloadangular.js-63c5334c84b7269428c710226764d1f08a36e0d4.tar.bz2
fix($compile): abort compilation when duplicate element transclusion
Issue an error and abort compilation when two directives that ask for transclusion are found on a single element. This configuration is not supported and we previously failed to issue the error because in the case of element transclusion the compilation is re-started and this caused the compilation context to be lost. The ngRepeat directive has been special-cased to bypass this warning because it knows how to handle this scenario internally. This is not an ideal solution to the problem of multiple transclusions per element, we are hoping to have this configuration supported by the compiler in the future. See #4357. Closes #3893 Closes #4217 Closes #3307
Diffstat (limited to 'docs/content')
0 files changed, 0 insertions, 0 deletions