mirror of https://github.com/jkjoy/sunpeiwen.git
7 lines
358 B
JavaScript
7 lines
358 B
JavaScript
var setPrototypeOf = require("./setPrototypeOf.js");
|
|
function _inheritsLoose(subClass, superClass) {
|
|
subClass.prototype = Object.create(superClass.prototype);
|
|
subClass.prototype.constructor = subClass;
|
|
setPrototypeOf(subClass, superClass);
|
|
}
|
|
module.exports = _inheritsLoose, module.exports.__esModule = true, module.exports["default"] = module.exports; |