aboutsummaryrefslogtreecommitdiff
path: root/node_modules/resolve/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/resolve/index.js')
-rw-r--r--node_modules/resolve/index.js11
1 files changed, 7 insertions, 4 deletions
diff --git a/node_modules/resolve/index.js b/node_modules/resolve/index.js
index 51f194b4c..eb6ba89e6 100644
--- a/node_modules/resolve/index.js
+++ b/node_modules/resolve/index.js
@@ -1,5 +1,8 @@
var core = require('./lib/core');
-exports = module.exports = require('./lib/async');
-exports.core = core;
-exports.isCore = function (x) { return core[x] };
-exports.sync = require('./lib/sync');
+var async = require('./lib/async');
+async.core = core;
+async.isCore = function isCore(x) { return core[x]; };
+async.sync = require('./lib/sync');
+
+exports = async;
+module.exports = async;