Skip to content

Commit

Permalink
v4.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Albert González committed Jun 24, 2021
1 parent 1d78305 commit 20cbc26
Show file tree
Hide file tree
Showing 6 changed files with 92 additions and 46 deletions.
79 changes: 43 additions & 36 deletions dist/easytimer.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* easytimer.js
* Generated: 2021-03-16
* Version: 4.3.4
* Generated: 2021-06-24
* Version: 4.4.0
*/

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

function _typeof(obj) {
"@babel/helpers - typeof";

if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
_typeof = function (obj) {
return typeof obj;
};
} else {
_typeof = function (obj) {
return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
};
}

return _typeof(obj);
}

function _defineProperty(obj, key, value) {
if (key in obj) {
Object.defineProperty(obj, key, {
value: value,
enumerable: true,
configurable: true,
writable: true
});
} else {
obj[key] = value;
}

return obj;
}

function ownKeys(object, enumerableOnly) {
var keys = Object.keys(object);

if (Object.getOwnPropertySymbols) {
var symbols = Object.getOwnPropertySymbols(object);
if (enumerableOnly) symbols = symbols.filter(function (sym) {
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
});

if (enumerableOnly) {
symbols = symbols.filter(function (sym) {
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
});
}

keys.push.apply(keys, symbols);
}

Expand All @@ -75,6 +48,37 @@
return target;
}

function _typeof(obj) {
"@babel/helpers - typeof";

if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
_typeof = function (obj) {
return typeof obj;
};
} else {
_typeof = function (obj) {
return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
};
}

return _typeof(obj);
}

function _defineProperty(obj, key, value) {
if (key in obj) {
Object.defineProperty(obj, key, {
value: value,
enumerable: true,
configurable: true,
writable: true
});
} else {
obj[key] = value;
}

return obj;
}

function leftPadding(string, padLength, character) {
var i;
var characters = '';
Expand Down Expand Up @@ -460,6 +464,9 @@
}
}

values = values.map(function (value) {
return parseInt(value, 10);
});
var secondTenths = values[SECOND_TENTHS_POSITION];
var seconds = values[SECONDS_POSITION] + calculateIntegerUnitQuotient(secondTenths, SECOND_TENTHS_PER_SECOND);
var minutes = values[MINUTES_POSITION] + calculateIntegerUnitQuotient(seconds, SECONDS_PER_MINUTE);
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.

6 changes: 3 additions & 3 deletions dist/examples.min.css

Large diffs are not rendered by default.

41 changes: 40 additions & 1 deletion dist/examples.min.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions 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.4",
"version": "4.4.0",
"description": "Timer/Chronometer/Countdown compatible with AMD and NodeJS",
"main": "dist/easytimer.js",
"types": "index.d.ts",
Expand Down

0 comments on commit 20cbc26

Please sign in to comment.