decord/source/__polyfill/01xxx/module_1460.js
github-actions cd74c1f217 chore: update source for alpha 345.5
Skipped 1 file(s) >100MB (GitHub limit): source/__vendor/09xxx/9667_m.js (378 MB)
2026-09-05 10:56:28 +00:00

32 lines
832 B
JavaScript

// Module ID: 1460
// Function ID: 1461
// Dependencies: []
// Module 1460
if (typeof Object.create === "function") {
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;
}
};
}