16 lines
461 B
JavaScript
16 lines
461 B
JavaScript
(function (global, factory) {
|
|
if (typeof define === "function" && define.amd) {
|
|
define(["foo", "foo-bar", "./directory/foo-bar"], factory);
|
|
} else if (typeof exports !== "undefined") {
|
|
factory(require("foo"), require("foo-bar"), require("./directory/foo-bar"));
|
|
} else {
|
|
var mod = {
|
|
exports: {}
|
|
};
|
|
factory(global.foo, global.fooBar, global.fooBar);
|
|
global.actual = mod.exports;
|
|
}
|
|
})(this, function () {
|
|
"use strict";
|
|
});
|