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

Function nextTick

test/angular/1.4/angular-animate.js:418–431  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

416 return scheduler;
417
418 function nextTick() {
419 if (!queue.length) return;
420
421 var items = queue.shift();
422 for (var i = 0; i < items.length; i++) {
423 items[i]();
424 }
425
426 if (!cancelFn) {
427 $$rAF(function() {
428 if (!cancelFn) nextTick();
429 });
430 }
431 }
432}];
433
434/**

Callers 10

scheduleProcessQueueFunction · 0.70
qFactoryFunction · 0.70
schedulerFunction · 0.70
angular-animate.jsFile · 0.70
deferFunction · 0.50
refFunction · 0.50
whenFunction · 0.50
scheduleProcessQueueFunction · 0.50
qFactoryFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected