MCPcopy Index your code
hub / github.com/angular-ui/ui-grid / skipEmptyAndUnknownOptions

Function skipEmptyAndUnknownOptions

lib/test/angular/1.4.3/angular.js:26341–26353  ·  view source on GitHub ↗
(current)

Source from the content-addressed store, hash-verified

26339
26340
26341 function skipEmptyAndUnknownOptions(current) {
26342 var emptyOption_ = emptyOption && emptyOption[0];
26343 var unknownOption_ = unknownOption && unknownOption[0];
26344
26345 if (emptyOption_ || unknownOption_) {
26346 while (current &&
26347 (current === emptyOption_ ||
26348 current === unknownOption_)) {
26349 current = current.nextSibling;
26350 }
26351 }
26352 return current;
26353 }
26354
26355
26356 function updateOptions() {

Callers 1

updateOptionsFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected