forked from enviPath/enviPy
Current Dev State
This commit is contained in:
11
static/js/ketcher2/node_modules/timers-ext/test/max-timeout.js
generated
vendored
Normal file
11
static/js/ketcher2/node_modules/timers-ext/test/max-timeout.js
generated
vendored
Normal file
@ -0,0 +1,11 @@
|
||||
'use strict';
|
||||
|
||||
module.exports = function (t, a, d) {
|
||||
var invoked, id;
|
||||
id = setTimeout(function () { invoked = true; }, t);
|
||||
setTimeout(function () {
|
||||
a(invoked, undefined);
|
||||
clearTimeout(id);
|
||||
d();
|
||||
}, 100);
|
||||
};
|
||||
Reference in New Issue
Block a user