You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When minifying angularjs I ran into an issue where valid variables were defined to undefined, and then void 0
To Reproduce
functionngOptionsPostLink(scope,selectElement,attr,ctrls){// if ngModel is not defined, we don't need to do anythingvarngModelCtrl=ctrls[1];if(!ngModelCtrl)return;varselectCtrl=ctrls[0];varmultiple=attr.multiple;// The emptyOption allows the application developer to provide their own custom "empty"// option when the viewValue does not match any of the option values.varemptyOption;for(vari=0,children=selectElement.children(),ii=children.length;i<ii;i++){if(children[i].value===''){emptyOption=children.eq(i);break;}}returnemptyOption;}
Describe the bug
When minifying angularjs I ran into an issue where valid variables were defined to
undefined
, and thenvoid 0
To Reproduce
Actual Output
Expected Output
Configuration
7.0.0 (@babel/core 7.0.0)
Babel cli and via grunt.
The text was updated successfully, but these errors were encountered: