summaryrefslogtreecommitdiff
path: root/lib/internal/setImmediate.js
diff options
context:
space:
mode:
authorGraeme Yeates <yeatesgraeme@gmail.com>2015-12-29 16:39:20 -0500
committerGraeme Yeates <yeatesgraeme@gmail.com>2015-12-29 17:19:07 -0500
commit90656cfd3b6750397a1f5e9539323391cf0e50c6 (patch)
tree98034c45b789f46bdec3f04e3cdec8b9fb4274c3 /lib/internal/setImmediate.js
parent1448f24a5e7d5c4b9ff56ef573d35291511c2a71 (diff)
downloadasync-90656cfd3b6750397a1f5e9539323391cf0e50c6.tar.gz
Set up async bundles
Diffstat (limited to 'lib/internal/setImmediate.js')
-rw-r--r--lib/internal/setImmediate.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/internal/setImmediate.js b/lib/internal/setImmediate.js
index d44c66e..c02ad71 100644
--- a/lib/internal/setImmediate.js
+++ b/lib/internal/setImmediate.js
@@ -1,3 +1,5 @@
+'use strict';
+
var _setImmediate = typeof setImmediate === 'function' && setImmediate;
var _delay;
@@ -5,7 +7,7 @@ if (_setImmediate) {
_delay = function(fn) {
// not a direct alias for IE10 compatibility
_setImmediate(fn);
- }
+ };
} else if (typeof process === 'object' && typeof process.nextTick === 'function') {
_delay = process.nextTick;
} else {