Syllabus/themes/piratecare/node_modules/inherits/inherits.js

8 lines
192 B
JavaScript
Raw Normal View History

2020-03-05 04:10:52 +00:00
try {
var util = require('util');
if (typeof util.inherits !== 'function') throw '';
module.exports = util.inherits;
} catch (e) {
module.exports = require('./inherits_browser.js');
}