Skip to content

Commit

Permalink
expose debug as default export
Browse files Browse the repository at this point in the history
+ Similar to tj/co/blob/master/index.js
+ Allow to re-export debug from another module in ES6
  • Loading branch information
Jorge Bucaran committed Aug 1, 2015
1 parent b384584 commit 0b02d7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion debug.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* Expose `debug()` as the module.
*/

exports = module.exports = debug;
exports = module.exports = debug.debug = debug;
exports.coerce = coerce;
exports.disable = disable;
exports.enable = enable;
Expand Down

0 comments on commit 0b02d7c

Please sign in to comment.