We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9c16662 commit b93e446Copy full SHA for b93e446
1 file changed
index.js
@@ -3,7 +3,7 @@ const args = require("./utils/args");
3
4
// Unfortunately this list is not exhaustive, so if you find that a method does
5
// not use a "standard"-ish name, you'll have to extend this list.
6
-var callbacks = exports.callbacks = ["cb", "callback", "callback_", "done"];
+var callbacks = ["cb", "callback", "callback_", "done"];
7
8
/**
9
* Recursively operate over an object locating "asynchronous" functions by
@@ -71,3 +71,6 @@ module.exports = function(name) {
71
// promises.
72
return processExports(exports);
73
};
74
+
75
+// Export callbacks to the module.
76
+module.exports.callbacks = callbacks;
0 commit comments