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 6c45437 commit e8aa742Copy full SHA for e8aa742
src/moduleraid.ts
@@ -170,7 +170,7 @@ export class ModuleRaid {
170
* @internal
171
*/
172
private fillModules(): void {
173
- if (window[this.entrypoint] === 'function') {
+ if (typeof window[this.entrypoint] === 'function') {
174
this.functionArguments.forEach((argument, index) => {
175
try {
176
if (this.modules && Object.keys(this.modules).length > 0) return
0 commit comments