Skip to content

Commit 9420c74

Browse files
committed
chore: remove unused "a" object
1 parent e07485b commit 9420c74

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

apps/pomoplus/common.js

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -85,13 +85,6 @@ exports.getNextPhase = function () {
8585

8686
//Change to the next phase and update numShortBreaks, and optionally vibrate. DOES NOT WRITE STATE CHANGE TO STORAGE!
8787
exports.nextPhase = function (vibrate) {
88-
a = {
89-
startTime: 0, //When the timer was last started. Difference between this and now is how long timer has run continuously.
90-
pausedTime: 0, //When the timer was last paused. Used for expiration and displaying timer while paused.
91-
elapsedTime: 0, //How much time the timer had spent running before the current start time. Update on pause or user skipping stages.
92-
phase: exports.PHASE_WORKING, //What phase the timer is currently in
93-
numShortBreaks: 0 //Number of short breaks that have occured so far
94-
}
9588
let now = (new Date()).getTime();
9689
exports.state.startTime = now; //The timer is being reset, so say it starts now.
9790
exports.state.pausedTime = now; //This prevents a paused timer from having the start time moved to the future and therefore having been run for negative time.

0 commit comments

Comments
 (0)