Skip to content
This repository was archived by the owner on Apr 1, 2018. It is now read-only.

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

TimerFactory

Timer factory is used to create an instance of a generic timer with getters, setters and utility functions of a tradational timer with .start(), .stop(), .reset() functions. This factory pattern in JavaScript follows the classic factory pattern in Object Oriented Programming. See demo.index in a browser for a quick demo. Use browser console to see ticks. Future version will update demo.index to present more statistics of the timer, such as showing the ticks and elapsed time on HTML page.

About

Timer factory is used to create an instance of a generic timer with getters, setters and utility functions of a tradational timer with .start(), .stop(), .reset() functions. This factory pattern in JavaScript follows the classic factory pattern in Object Oriented Programming. See demo.index in a browser for a quick demo. Use browser console to see…

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages