MCPcopy Index your code
hub / github.com/angular-ui/ui-router / removeEmptyOption

Function removeEmptyOption

test/angular/1.5/angular.js:29560–29566  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

29558 };
29559
29560 var removeEmptyOption = function() {
29561 if (!providedEmptyOption) {
29562 emptyOption.remove();
29563 } else if (emptyOptionRendered) {
29564 emptyOption.removeAttr('selected');
29565 }
29566 };
29567
29568 var renderUnknownOption = function() {
29569 selectElement.prepend(unknownOption);

Callers 1

ngOptionsPostLinkFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected