mirror of
https://github.com/github/codeql.git
synced 2025-12-17 17:23:36 +01:00
14 lines
350 B
JavaScript
14 lines
350 B
JavaScript
(function (root, factory) {
|
|
if (typeof define === 'function' && define.amd) {
|
|
// AMD. Register as an anonymous module.
|
|
define(['./a', './dir/b'], factory);
|
|
} else {
|
|
// Browser globals
|
|
root.amdWeb = factory(root.b);
|
|
}
|
|
}(this, function (a, b) {
|
|
return {
|
|
bar: a.foo,
|
|
foo: b.bar
|
|
};
|
|
})); |