Skip to content

Commit 20cbc26

Browse files
author
Albert González
committed
v4.4.0
1 parent 1d78305 commit 20cbc26

File tree

6 files changed

+92
-46
lines changed

6 files changed

+92
-46
lines changed

dist/easytimer.js

Lines changed: 43 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/**
22
* easytimer.js
3-
* Generated: 2021-03-16
4-
* Version: 4.3.4
3+
* Generated: 2021-06-24
4+
* Version: 4.4.0
55
*/
66

77
(function (global, factory) {
@@ -10,45 +10,18 @@
1010
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.easytimer = {}));
1111
}(this, (function (exports) { 'use strict';
1212

13-
function _typeof(obj) {
14-
"@babel/helpers - typeof";
15-
16-
if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
17-
_typeof = function (obj) {
18-
return typeof obj;
19-
};
20-
} else {
21-
_typeof = function (obj) {
22-
return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
23-
};
24-
}
25-
26-
return _typeof(obj);
27-
}
28-
29-
function _defineProperty(obj, key, value) {
30-
if (key in obj) {
31-
Object.defineProperty(obj, key, {
32-
value: value,
33-
enumerable: true,
34-
configurable: true,
35-
writable: true
36-
});
37-
} else {
38-
obj[key] = value;
39-
}
40-
41-
return obj;
42-
}
43-
4413
function ownKeys(object, enumerableOnly) {
4514
var keys = Object.keys(object);
4615

4716
if (Object.getOwnPropertySymbols) {
4817
var symbols = Object.getOwnPropertySymbols(object);
49-
if (enumerableOnly) symbols = symbols.filter(function (sym) {
50-
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
51-
});
18+
19+
if (enumerableOnly) {
20+
symbols = symbols.filter(function (sym) {
21+
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
22+
});
23+
}
24+
5225
keys.push.apply(keys, symbols);
5326
}
5427

@@ -75,6 +48,37 @@
7548
return target;
7649
}
7750

51+
function _typeof(obj) {
52+
"@babel/helpers - typeof";
53+
54+
if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
55+
_typeof = function (obj) {
56+
return typeof obj;
57+
};
58+
} else {
59+
_typeof = function (obj) {
60+
return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
61+
};
62+
}
63+
64+
return _typeof(obj);
65+
}
66+
67+
function _defineProperty(obj, key, value) {
68+
if (key in obj) {
69+
Object.defineProperty(obj, key, {
70+
value: value,
71+
enumerable: true,
72+
configurable: true,
73+
writable: true
74+
});
75+
} else {
76+
obj[key] = value;
77+
}
78+
79+
return obj;
80+
}
81+
7882
function leftPadding(string, padLength, character) {
7983
var i;
8084
var characters = '';
@@ -460,6 +464,9 @@
460464
}
461465
}
462466

467+
values = values.map(function (value) {
468+
return parseInt(value, 10);
469+
});
463470
var secondTenths = values[SECOND_TENTHS_POSITION];
464471
var seconds = values[SECONDS_POSITION] + calculateIntegerUnitQuotient(secondTenths, SECOND_TENTHS_PER_SECOND);
465472
var minutes = values[MINUTES_POSITION] + calculateIntegerUnitQuotient(seconds, SECONDS_PER_MINUTE);

dist/easytimer.min.js

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/examples.min.css

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/examples.min.js

Lines changed: 40 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "easytimer.js",
3-
"version": "4.3.4",
3+
"version": "4.4.0",
44
"description": "Timer/Chronometer/Countdown compatible with AMD and NodeJS",
55
"main": "dist/easytimer.js",
66
"types": "index.d.ts",

0 commit comments

Comments
 (0)