MCPcopy Create free account
hub / github.com/apache/mesos / countdown

Function countdown

src/webui/app/controllers.js:507–514  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

505
506 $scope.retry = $scope.delay;
507 var countdown = function() {
508 if ($scope.retry === 0) {
509 errorModal.close();
510 } else {
511 $scope.retry = $scope.retry - 1000;
512 $scope.countdown = $timeout(countdown, 1000);
513 }
514 };
515 countdown();
516 };
517

Callers 1

popupErrorModalFunction · 0.85

Calls 1

closeMethod · 0.45

Tested by

no test coverage detected