diff options
| author | Igor Minar | 2013-07-02 17:23:51 -0700 |
|---|---|---|
| committer | Igor Minar | 2013-07-02 22:35:39 -0700 |
| commit | 69f42b76548d00f52b231ec91150e4f0b008c730 (patch) | |
| tree | 5775f9ef1f2db5721f414c41800daae90b2c6152 /docs | |
| parent | cbbe3bfe91526af0523c0b014895f78df6a983ed (diff) | |
| download | angular.js-69f42b76548d00f52b231ec91150e4f0b008c730.tar.bz2 | |
fix($compile): prevent infinite loop w/ replace+transclude directives
Previously if a template contained a directive that had a template
(sync or async) and the directive template was to replace the original
element and the directive template contained another directive on the
root element of this template and this new directive was an element
transclude directive then an infinite recursion would follow because
the compiler kept on re-adding and reapplying the original directive
to the replaced node.
This change fixes that.
Closes #2155
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions
