-
Notifications
You must be signed in to change notification settings - Fork 27.4k
ngSwitch removes DOM elements twice #8662
Comments
@matsko is this a regression? |
not a regression, but a perf issue. functionality is not affected, we just do work unnecessarily as far as I can tell. |
Like this? #8833 |
The referenced sha specifically fixes an issue where DOM nodes were attempted to be removed twice (resulting in a type error), but it's quite likely that there are more problems with it |
Part of the problem is that the callback for the |
I don't think we need the callback at all |
Hmmm, so we should keep the complete drain but remove the selected callback drain for |
Also, just this morning getting this when I try to package :(
Exception in thread "main" java.lang.UnsupportedClassVersionError: com/google/javascript/jscomp/CommandLineRunner : Unsupported major.minor version 51.0 |
you need java7 |
Oh okay yes I see ;) |
@thebigredgeek this was fixed using |
The code up here:
https://github.com/angular/angular.js/blob/master/src/ng/directive/ngSwitch.js#L150
May seem to contain elements that are called here:
https://github.com/angular/angular.js/blob/master/src/ng/directive/ngSwitch.js#L159
The issue may relate to transclusion blocks that were added in:
ac37915
The text was updated successfully, but these errors were encountered: