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

Function next

test/angular/1.7/angular.js:6287–6301  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

6285
6286 next();
6287 function next() {
6288 if (index === chain.length) {
6289 callback(true);
6290 return;
6291 }
6292
6293 chain[index](function(response) {
6294 if (response === false) {
6295 callback(false);
6296 return;
6297 }
6298 index++;
6299 next();
6300 });
6301 }
6302 };
6303
6304 AnimateRunner.all = function(runners, callback) {

Callers 1

Calls 1

callbackFunction · 0.70

Tested by

no test coverage detected