diff options
Diffstat (limited to 'middleware/node_modules/inherits/inherits.js')
-rw-r--r-- | middleware/node_modules/inherits/inherits.js | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/middleware/node_modules/inherits/inherits.js b/middleware/node_modules/inherits/inherits.js new file mode 100644 index 0000000..f71f2d9 --- /dev/null +++ b/middleware/node_modules/inherits/inherits.js @@ -0,0 +1,9 @@ +try { + var util = require('util'); + /* istanbul ignore next */ + if (typeof util.inherits !== 'function') throw ''; + module.exports = util.inherits; +} catch (e) { + /* istanbul ignore next */ + module.exports = require('./inherits_browser.js'); +} |