mirror of
https://github.com/Wan-Video/Wan2.1.git
synced 2025-07-14 11:40:10 +00:00
22 lines
358 B
JavaScript
22 lines
358 B
JavaScript
'use strict';
|
|
|
|
var util = {};
|
|
|
|
/*
|
|
* util.inherits for browsers
|
|
*/
|
|
|
|
util.inherits = function inherits (ctor, superCtor) {
|
|
ctor.__super__ = superCtor;
|
|
ctor.prototype = Object.create(superCtor.prototype, {
|
|
constructor: {
|
|
value: ctor,
|
|
enumerable: false,
|
|
writable: true,
|
|
configurable: true
|
|
}
|
|
});
|
|
};
|
|
|
|
module.exports = util;
|