Skip to content
This repository has been archived by the owner on Apr 5, 2019. It is now read-only.

Watch start-time value and update clock if it changes #16

Merged
merged 2 commits into from
Oct 4, 2017

Conversation

rezass
Copy link
Contributor

@rezass rezass commented Oct 4, 2017

Watch start-time value and update clock if it changes.
This is required if start-time is provided at a later time like when you get the value by an HTTP get.

angular-clock.js Outdated
@@ -80,6 +80,11 @@
digitalFormat = value;
}
});
scope.$watch('startTime', function(value, old) {
Copy link
Owner

Choose a reason for hiding this comment

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

please fix the indentation here

@deepu105 deepu105 merged commit a0efa60 into deepu105:master Oct 4, 2017
@rezass rezass deleted the watch-start-time branch October 4, 2017 06:16
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.

None yet

2 participants