Last change
on this file since 1ad8e64 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
360 bytes
|
Rev | Line | |
---|
[6a3a178] | 1 | var setPrototypeOf = require("./setPrototypeOf.js");
|
---|
| 2 |
|
---|
| 3 | function _inheritsLoose(subClass, superClass) {
|
---|
| 4 | subClass.prototype = Object.create(superClass.prototype);
|
---|
| 5 | subClass.prototype.constructor = subClass;
|
---|
| 6 | setPrototypeOf(subClass, superClass);
|
---|
| 7 | }
|
---|
| 8 |
|
---|
| 9 | module.exports = _inheritsLoose;
|
---|
| 10 | module.exports["default"] = module.exports, module.exports.__esModule = true; |
---|
Note:
See
TracBrowser
for help on using the repository browser.