2016-01-08 15:29:42 -06:00

14 lines
336 B
JavaScript

(function (global, factory) {
if (typeof define === "function" && define.amd) {
define("my custom module name", [], factory);
} else if (typeof exports !== "undefined") {
factory();
} else {
var mod = {
exports: {}
};
factory();
global.myCustomModuleName = mod.exports;
}
})(this, function () {});