aswi2020vldc-gitlab/templetes/node_modules/babel-runtime/helpers/interopRequireWildcard.js @ 9b6ff40e
1 |
"use strict"; |
---|---|
2 |
|
3 |
exports.__esModule = true; |
4 |
|
5 |
exports.default = function (obj) { |
6 |
if (obj && obj.__esModule) { |
7 |
return obj; |
8 |
} else { |
9 |
var newObj = {}; |
10 |
|
11 |
if (obj != null) { |
12 |
for (var key in obj) { |
13 |
if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; |
14 |
}
|
15 |
}
|
16 |
|
17 |
newObj.default = obj; |
18 |
return newObj; |
19 |
}
|
20 |
};
|