You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
468 B
13 lines
468 B
1 year ago
|
'use strict';
|
||
|
var $ = require('../internals/export');
|
||
|
var global = require('../internals/global');
|
||
|
var schedulersFix = require('../internals/schedulers-fix');
|
||
|
|
||
|
var setInterval = schedulersFix(global.setInterval, true);
|
||
|
|
||
|
// Bun / IE9- setInterval additional parameters fix
|
||
|
// https://html.spec.whatwg.org/multipage/timers-and-user-prompts.html#dom-setinterval
|
||
|
$({ global: true, bind: true, forced: global.setInterval !== setInterval }, {
|
||
|
setInterval: setInterval
|
||
|
});
|