We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
` $scope.reset = function () {
$scope.startTime = $scope.startTimeAttr ? moment($scope.startTimeAttr) : moment(); $scope.endTime = $scope.endTimeAttr ? moment($scope.endTimeAttr) : null; $scope.countdown = angular.isNumber($scope.countdownattr) && parseInt($scope.countdownattr, 10) > 0 ? parseInt($scope.countdownattr, 10) : undefined; resetTimeout(); tick(); $scope.isRunning = false; $scope.clear(); $scope.$emit('timer-reset', { timeoutId: timeoutId, // <------------- right here millis: $scope.millis, seconds: $scope.seconds, minutes: $scope.minutes, hours: $scope.hours, days: $scope.days }); };
`
Basically, this piece of code blows up any time it gets called. It seems it simply is missing $scope so it would look like this:
timeoutId: $scope.timeoutId
The timer seems to work anyway which is a bit curious though...
The text was updated successfully, but these errors were encountered:
No branches or pull requests
` $scope.reset = function () {
`
Basically, this piece of code blows up any time it gets called. It seems it simply is missing $scope so it would look like this:
timeoutId: $scope.timeoutId
The timer seems to work anyway which is a bit curious though...
The text was updated successfully, but these errors were encountered: