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

Function next

test/angular/1.6/angular.js:6174–6188  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

6172
6173 next();
6174 function next() {
6175 if (index === chain.length) {
6176 callback(true);
6177 return;
6178 }
6179
6180 chain[index](function(response) {
6181 if (response === false) {
6182 callback(false);
6183 return;
6184 }
6185 index++;
6186 next();
6187 });
6188 }
6189 };
6190
6191 AnimateRunner.all = function(runners, callback) {

Callers 1

Calls 1

callbackFunction · 0.70

Tested by

no test coverage detected