TFTPaths/node_modules/inherits/inherits.js

10 lines
250 B
JavaScript
Raw Normal View History

2019-08-19 20:00:53 +02:00
try {
var util = require('util');
2021-04-25 19:48:07 +02:00
/* istanbul ignore next */
2019-08-19 20:00:53 +02:00
if (typeof util.inherits !== 'function') throw '';
module.exports = util.inherits;
} catch (e) {
2021-04-25 19:48:07 +02:00
/* istanbul ignore next */
2019-08-19 20:00:53 +02:00
module.exports = require('./inherits_browser.js');
}