Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // function to switch phases mid interval
- var switchPhase = function(){
- if (active_timer_is_on === true){
- active_timer_is_on = false;
- rest_timer_is_on = true;
- return;
- }
- if (rest_timer_is_on === true) {
- rest_timer_is_on = false;
- active_timer_is_on = true;
- }
- };
Add Comment
Please, Sign In to add comment