diff options
Diffstat (limited to 'vnfmarket/src/main/webapp/vnfmarket/node_modules/set-immediate-shim/index.js')
-rw-r--r-- | vnfmarket/src/main/webapp/vnfmarket/node_modules/set-immediate-shim/index.js | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/vnfmarket/src/main/webapp/vnfmarket/node_modules/set-immediate-shim/index.js b/vnfmarket/src/main/webapp/vnfmarket/node_modules/set-immediate-shim/index.js new file mode 100644 index 00000000..e690485c --- /dev/null +++ b/vnfmarket/src/main/webapp/vnfmarket/node_modules/set-immediate-shim/index.js @@ -0,0 +1,7 @@ +'use strict'; +module.exports = typeof setImmediate === 'function' ? setImmediate : + function setImmediate() { + var args = [].slice.apply(arguments); + args.splice(1, 0, 0); + setTimeout.apply(null, args); + }; |