MCPcopy
hub / github.com/angular-ui/ui-router / next

Function next

test/angular/1.4/angular.js:5500–5514  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

5498
5499 next();
5500 function next() {
5501 if (index === chain.length) {
5502 callback(true);
5503 return;
5504 }
5505
5506 chain[index](function(response) {
5507 if (response === false) {
5508 callback(false);
5509 return;
5510 }
5511 index++;
5512 next();
5513 });
5514 }
5515 };
5516
5517 AnimateRunner.all = function(runners, callback) {

Callers 1

Calls 1

callbackFunction · 0.70

Tested by

no test coverage detected