mirror of
https://github.com/systemjs/systemjs.git
synced 2026-01-18 14:53:14 +00:00
11 lines
281 B
JavaScript
11 lines
281 B
JavaScript
(function (root, factory) {
|
|
if (typeof define === 'function' && define.amd)
|
|
define(['./umd-dep'], function(dep) {
|
|
return (root.amdWebGlobal = factory(dep));
|
|
});
|
|
else
|
|
root.amdWebGlobal = factory(root.dep);
|
|
}(this, function(dep) {
|
|
return { d: dep.dep };
|
|
}));
|