mirror of
https://github.com/thangisme/notes.git
synced 2024-11-06 22:27:21 -05:00
8 lines
192 B
JavaScript
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');
|
|
}
|