11 lines
272 B
JavaScript
11 lines
272 B
JavaScript
(function (factory) {
|
|
if (typeof define === "function" && define.amd) {
|
|
define(["exports", "foo"], factory);
|
|
} else if (typeof exports !== "undefined") {
|
|
factory(exports, require("foo"));
|
|
}
|
|
})(function (exports, _foo) {
|
|
"use strict";
|
|
|
|
var foo = _foo;
|
|
}); |