timer-countdown
Advanced tools
Comparing version 0.0.3 to 0.0.4
@@ -78,3 +78,3 @@ "use strict"; | ||
const currentTime = Date.now(); | ||
const differenceInTime = this.getDifferenceInTime(currentTime); | ||
const differenceInTime = this.state.prevTime ? (currentTime - this.state.prevTime) : 0; | ||
const interval = this.props.interval; | ||
@@ -81,0 +81,0 @@ const timeRemainingInInterval = this.getTimeRemainingInInterval(interval, differenceInTime); |
{ | ||
"name": "timer-countdown", | ||
"version": "0.0.3", | ||
"version": "0.0.4", | ||
"description": "A well designed ReactJs component for timer-counter", | ||
@@ -5,0 +5,0 @@ "main": "lib/CountdownTimer.js", |
10215