Please sign in to comment.
fix(compile): should not leak memory when there are top level empty t…
…ext nodes The change to prevent <span> elements being wrapped around empty text nodes caused these empty text nodes to have scopes and controllers attached, through jqLite.data() calls, which led to memory leaks and errors in IE8. Now we exclude all but document nodes and elements from having jqLite.data() set both in the compiler and in ng-view. Fixes: #1968 and #1876
- Loading branch information...
Showing with 75 additions and 4 deletions.