FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

trigger $digest loop when use finishCallback by hjzheng · Pull Request #273 · siddii/angular-timer · GitHub

This repository was archived by the owner on Jun 23, 2026. It is now read-only.
/ angular-timer Public archive

trigger $digest loop when use finishCallback - #273

Open
hjzheng wants to merge 2 commits into
siddii:masterfrom
hjzheng:master
Open

trigger $digest loop when use finishCallback#273
hjzheng wants to merge 2 commits into
siddii:masterfrom
hjzheng:master

Conversation

hjzheng commented Aug 16, 2016

Copy link
Copy Markdown

No description provided.

Comment thread app/js/_timer.js
calculateTimeUnits();
if($scope.finishCallback) {
$scope.$eval($scope.finishCallback);
if ($rootScope.$$phase) {

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Is there a way to avoid this undocumented API usage?

hjzheng Aug 16, 2016
edited
Loading

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

No, As far as I know It is a only way to detect whether the $digest loop is running.

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants


Back | FazBrowse Home | New Git URL