inherits.js 192 B

1234567
  1. try {
  2. var util = require('util');
  3. if (typeof util.inherits !== 'function') throw '';
  4. module.exports = util.inherits;
  5. } catch (e) {
  6. module.exports = require('./inherits_browser.js');
  7. }