Skip to content

Commit 544fb70

Browse files
committed
v1.0.3
1 parent 136176f commit 544fb70

File tree

7 files changed

+1085
-628
lines changed

7 files changed

+1085
-628
lines changed

docs/js/app.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/js/home.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/js/single.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/umd/tinytick/index.js

+4-4
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
(array) => arrayMap(array, () => mathFloor(math.random() * 256));
4343
const isPositiveNumber = (thing) =>
4444
getTypeOf(thing) == 'number' && thing >= 0;
45-
const isUndefined = (thing) => thing == undefined;
45+
const isUndefined = (thing) => thing == void 0;
4646
const ifNotUndefined = (value, then, otherwise) =>
4747
isUndefined(value) ? otherwise?.() : then(value);
4848
const getUniqueId = (length = 16) =>
@@ -91,7 +91,7 @@
9191
const objFreeze = object.freeze;
9292
const objMerge = (...objs) => object.assign({}, ...objs);
9393
const objFilterUndefined = (obj) => {
94-
objForEach(obj, (value, id) => (value === undefined ? delete obj[id] : 0));
94+
objForEach(obj, (value, id) => (value === void 0 ? delete obj[id] : 0));
9595
return obj;
9696
};
9797
const objValidate = (obj, validateChild) => {
@@ -240,7 +240,7 @@
240240
taskRunId,
241241
now + delay,
242242
);
243-
taskRun[ABORT_CONTROLLER] = undefined;
243+
taskRun[ABORT_CONTROLLER] = void 0;
244244
} else {
245245
delTaskRun(taskRunId);
246246
}
@@ -317,7 +317,7 @@
317317
fluent((taskId2) => mapSet(taskMap, taskId2), taskId);
318318
const scheduleTaskRun = (taskId, arg, startAfter = 0, config2 = {}) => {
319319
if (status == 2) {
320-
return undefined;
320+
return void 0;
321321
}
322322
const taskRunId = getUniqueId();
323323
mapSet(taskRunMap, taskRunId, [

0 commit comments

Comments
 (0)