Changes UMD callsite to be more likely to pass in the intended… (#10477)

* Changes UMD callsite to be more likely to pass in the intended object.

Fixes #10476
Note: This PR should be considered pseudocode and used as an illustration of the proposed fix.  I do not know nearly enough about this project to know if this is an appropriate solution to the problem, nor do I have the confidence to update the tests appropriately.

* Update tests
This commit is contained in:
Micah Zoltu
2019-10-30 05:19:49 +08:00
committed by Nicolò Ribaudo
parent 143d159982
commit 198b4a0fbd
95 changed files with 103 additions and 95 deletions

View File

@@ -10,7 +10,7 @@
factory(mod.exports);
global.input = mod.exports;
}
})(this, function (_exports) {
})(typeof globalThis === "object" ? globalThis : typeof self === "object" ? self : this, function (_exports) {
"use strict";
Object.defineProperty(_exports, "__esModule", {