Skip to content

Commit

Permalink
Merge b253305 into 14a97c3
Browse files Browse the repository at this point in the history
  • Loading branch information
omerman committed May 23, 2020
2 parents 14a97c3 + b253305 commit 1f2bf80
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 35 deletions.
4 changes: 2 additions & 2 deletions lib/tasktimer.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion lib/tasktimer.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion lib/tasktimer.min.js.map

Large diffs are not rendered by default.

41 changes: 11 additions & 30 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 src/utils.ts
Expand Up @@ -33,7 +33,7 @@ const utils = {
setImmediate(cb: (...args: any[]) => void, ...args: any[]): any {
/* istanbul ignore if */
if (utils.BROWSER) { // tested separately
return setTimeout(cb.apply(null, args), 0);
return setTimeout(cb.bind(null, ...args), 0);
}
return setImmediate(cb, ...args);
},
Expand Down

0 comments on commit 1f2bf80

Please sign in to comment.