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

Function next

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

Source from the content-addressed store, hash-verified

5774
5775 next();
5776 function next() {
5777 if (index === chain.length) {
5778 callback(true);
5779 return;
5780 }
5781
5782 chain[index](function(response) {
5783 if (response === false) {
5784 callback(false);
5785 return;
5786 }
5787 index++;
5788 next();
5789 });
5790 }
5791 };
5792
5793 AnimateRunner.all = function(runners, callback) {

Callers 1

Calls 1

callbackFunction · 0.70

Tested by

no test coverage detected