pixelnode/node_modules/inherits/inherits.js
2018-04-03 11:42:35 +02:00

8 lines
192 B
JavaScript

try {
var util = require('util');
if (typeof util.inherits !== 'function') throw '';
module.exports = util.inherits;
} catch (e) {
module.exports = require('./inherits_browser.js');
}