Wan2.1/web_interface/node_modules/jandal/source/util.js
2025-05-17 10:46:44 +00:00

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;