Skip to content

Commit

Permalink
Fixes to pass the broken test.
Browse files Browse the repository at this point in the history
  • Loading branch information
tbranyen committed Apr 12, 2014
1 parent 9c16662 commit b93e446
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ const args = require("./utils/args");

// Unfortunately this list is not exhaustive, so if you find that a method does
// not use a "standard"-ish name, you'll have to extend this list.
var callbacks = exports.callbacks = ["cb", "callback", "callback_", "done"];
var callbacks = ["cb", "callback", "callback_", "done"];

/**
* Recursively operate over an object locating "asynchronous" functions by
Expand Down Expand Up @@ -71,3 +71,6 @@ module.exports = function(name) {
// promises.
return processExports(exports);
};

// Export callbacks to the module.
module.exports.callbacks = callbacks;

0 comments on commit b93e446

Please sign in to comment.