mirror of
https://github.com/Doodle3D/Doodle3D-API
synced 2024-12-23 22:13:48 +01:00
21 lines
373 B
JavaScript
21 lines
373 B
JavaScript
|
/* */
|
||
|
"use strict";
|
||
|
|
||
|
exports["default"] = function (obj) {
|
||
|
if (obj && obj.__esModule) {
|
||
|
return obj;
|
||
|
} else {
|
||
|
var newObj = {};
|
||
|
|
||
|
if (obj != null) {
|
||
|
for (var key in obj) {
|
||
|
if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key];
|
||
|
}
|
||
|
}
|
||
|
|
||
|
newObj["default"] = obj;
|
||
|
return newObj;
|
||
|
}
|
||
|
};
|
||
|
|
||
|
exports.__esModule = true;
|