Skip to content

Commit

Permalink
v4.3.2
Browse files Browse the repository at this point in the history
  • Loading branch information
albert-gonzalez committed Feb 28, 2021
1 parent e8173d1 commit cc55894
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 15 deletions.
11 changes: 6 additions & 5 deletions dist/easytimer.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* easytimer.js
* Generated: 2020-11-13
* Version: 4.3.1
* Generated: 2021-02-28
* Version: 4.3.2
*/

(function (global, factory) {
Expand Down Expand Up @@ -252,14 +252,15 @@
setParams(defaultParams);

function updateCounters(precision, roundedValue) {
var unitsPerGroup = groupedUnits[precision];
totalCounters[precision] = roundedValue;

if (precision === DAYS) {
counters[precision] = roundedValue;
counters[precision] = Math.abs(roundedValue);
} else if (roundedValue >= 0) {
counters[precision] = mod(roundedValue, groupedUnits[precision]);
counters[precision] = mod(roundedValue, unitsPerGroup);
} else {
counters[precision] = groupedUnits[precision] - mod(roundedValue, groupedUnits[precision]);
counters[precision] = mod(unitsPerGroup - mod(roundedValue, unitsPerGroup), unitsPerGroup);
}
}

Expand Down
6 changes: 3 additions & 3 deletions dist/easytimer.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions dist/examples.min.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/examples.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "easytimer.js",
"version": "4.3.1",
"version": "4.3.2",
"description": "Timer/Chronometer/Countdown compatible with AMD and NodeJS",
"main": "dist/easytimer.js",
"types": "index.d.ts",
Expand Down

0 comments on commit cc55894

Please sign in to comment.