We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 227789c commit 9e52c0bCopy full SHA for 9e52c0b
src/esl.js
@@ -901,15 +901,9 @@ var esl;
901
);
902
}
903
904
- if (typeof exports === 'function') {
905
- exports = (function (exports) {
906
- return function () {
907
- return exports;
908
- };
909
- })(exports);
910
- }
911
-
912
- globalDefine(moduleId, shimDeps, exports || {});
+ globalDefine(moduleId, shimDeps, function () {
+ return exports || {};
+ });
913
914
else {
915
modCompletePreDefine(moduleId);
0 commit comments