wallet-core/node_modules/set-immediate-shim/index.js
2017-05-03 15:35:00 +02:00

8 lines
210 B
JavaScript

'use strict';
module.exports = typeof setImmediate === 'function' ? setImmediate :
function setImmediate() {
var args = [].slice.apply(arguments);
args.splice(1, 0, 0);
setTimeout.apply(null, args);
};