1
0
mirror of https://github.com/thangisme/notes.git synced 2024-10-31 23:27:32 -04:00
notes/node_modules/inherits/inherits.js
Patrick Marsceill b7b0d0d7bf
Initial commit
2017-03-09 13:16:08 -05: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');
}