17 lines
334 B
JavaScript

"use strict";
(function (global, factory) {
if (typeof define === "function" && define.amd) {
define("MyLib", [], factory);
} else if (typeof exports !== "undefined") {
factory();
} else {
var mod = {
exports: {}
};
factory();
global.MyLib = mod.exports;
}
})(this, function () {
foobar();
});