Skip to content

Updated intervalHandler to support continuous run#1

Merged
mohitYogi merged 4 commits intomasterfrom
mohitYogi-patch-1
Jul 26, 2019
Merged

Updated intervalHandler to support continuous run#1
mohitYogi merged 4 commits intomasterfrom
mohitYogi-patch-1

Conversation

@mohitYogi
Copy link
Owner

intervalHandler is updated in order to support continuous timer run, even after duration is completed

intervalHandler is updated in order to support continuous timer run, even after duration is completed
Flag for single call to callback when timer completes in continuous run.
1. Added stopTimerOnDuration in config to run timer continuously.
2. Updated intervalHandler to support continuous run
3. Added Flag isCallbackCalled to stop multiple calls to callback after reaching the duration in continuous run.
@mohitYogi mohitYogi marked this pull request as ready for review July 26, 2019 09:36
@mohitYogi mohitYogi merged commit fef8c2a into master Jul 26, 2019
mohitYogi added a commit that referenced this pull request Dec 5, 2020
* Updated timer to support continuous run (#1) (walmik#92)

* Updated timer to support continuous run (#1)

* Updated intervalHandler to support continuous run

intervalHandler is updated in order to support continuous timer run, even after duration is completed

* Flag for single call to callback

Flag for single call to callback when timer completes in continuous run.

* Update utils.js

* support continuous Timer run

1. Added stopTimerOnDuration in config to run timer continuously.
2. Updated intervalHandler to support continuous run
3. Added Flag isCallbackCalled to stop multiple calls to callback after reaching the duration in continuous run.

* Updates after review.

1. Removed stopTimerOnDuration flag (repeat flag do the same.)
2. Removed isCallbackCalled flag, as suggested after commit review.

* Update after Review

Removed flag isCallbackCalled. (Not required).

* Updates after review

1. Removed stopTimerOnDuration flag (repeat flag do the same.)
2. Removed isCallbackCalled flag, as suggested after commit review.

* Updates after Review

1. Removed stopTimerOnDuration flag (repeat flag do the same.)
2. Removed isCallbackCalled flag, as suggested after commit review.

* Patch version

New rule for checking timer duration completed.

* Update timer.jquery.js

* Semicolon & Comment update

Added missing semi colon. Updated Comment.

* Removed & Updated Comment

* Update README.md (walmik#99)

Let's not send people to an ad-infested abandoned domain name :)

Co-authored-by: Alan <my@working.name>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant