decord/source/module_1428.js

33 lines
832 B
JavaScript
Raw Normal View History

2026-08-11 06:20:06 +00:00
// Module ID: 1428
// Function ID: 1429
2026-07-29 08:29:29 +00:00
// Dependencies: []
2026-08-11 06:20:06 +00:00
// Module 1428
2026-08-04 21:03:28 +00:00
if (typeof Object.create === "function") {
2026-07-29 08:29:29 +00:00
module.exports = function inherits(arg0, super_) {
if (super_) {
arg0.super_ = super_;
const _Object = Object;
let obj = { constructor: null };
obj = { value: null, enumerable: false, writable: true, configurable: true };
obj[0] = arg0;
obj[0] = obj;
arg0.prototype = Object.create(super_.prototype, obj);
}
};
} else {
module.exports = function inherits(arg0, super_) {
if (super_) {
arg0.super_ = super_;
class TempCtor {
constructor() {
return;
}
}
TempCtor.prototype = super_.prototype;
arg0.prototype = Object.create(TempCtor.prototype);
arg0.prototype.constructor = arg0;
}
};
}