-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
See #12. We've refactored the module a bit more so it can now be bundled with webpack, at least that's what we hope, lol.
- Loading branch information
1 parent
d58c2a6
commit e2d5f81
Showing
2 changed files
with
5 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,4 @@ | ||
// # inspect.js | ||
// Exports the custom inspect symbol so that we can customize loggin in | ||
// Node.js. We centralize this here so that we can mock this out in the | ||
// browser bundle. | ||
const util = require('util'); | ||
module.exports = util.inspect.custom; | ||
// Exports the custom inspect symbol so that we can customize logging in | ||
// Node.js. | ||
module.exports = Symbol.for('nodejs.util.inspect.custom'); |