30 lines
824 B
JavaScript
30 lines
824 B
JavaScript
(function (factory) {
|
|
if (typeof define === "function" && define.amd) {
|
|
define(["exports", "module"], factory);
|
|
} else if (typeof exports !== "undefined" && typeof module !== "undefined") {
|
|
factory(exports, module);
|
|
}
|
|
})(function (exports, module) {
|
|
"use strict";
|
|
|
|
var _classCallCheck = function (instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } };
|
|
|
|
module.exports = foo;
|
|
module.exports = 42;
|
|
module.exports = {};
|
|
module.exports = [];
|
|
module.exports = foo;
|
|
module.exports = function () {};
|
|
|
|
var _default = function _default() {
|
|
_classCallCheck(this, _default);
|
|
};
|
|
|
|
module.exports = _default;
|
|
function foo() {}
|
|
var Foo = function Foo() {
|
|
_classCallCheck(this, Foo);
|
|
};
|
|
|
|
module.exports = Foo;
|
|
}); |