setup-php/node_modules/inherits/inherits.js
Shivam Mathur 8f9786b73f init
2019-09-06 05:17:43 +05:30

10 lines
250 B
JavaScript

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');
}