Skip to content

Individual timers #8

Description

@ljungmark

Today, you can set two different timer lengths for soft- and hard-boiled eggs. But once you start the timer, both timers tick.

Timer starts in Eggup.prototype.start, which creates a new instance of Countdown;

function Countdown(duration, granularity) {
  this.duration = duration;
  this.granularity = granularity || 1000; /** Defines the tick frequency */
  this.functions = [];
}

Create a way to start the timers individually.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions