Some checks failed
Build and Deploy / build-macos (push) Failing after 4s
Build and Deploy / build-windows (CLANG64) (push) Has been cancelled
Build and Deploy / package-dist (push) Has been cancelled
Build and Deploy / deploy-itch (push) Has been cancelled
Build and Deploy / deploy-gitea (push) Has been cancelled
Build and Deploy / build-linux (push) Has been cancelled
15 lines
361 B
JavaScript
15 lines
361 B
JavaScript
// Test module - should NOT have access to $_
|
|
|
|
function test() {
|
|
if (typeof $_ !== 'undefined') {
|
|
console.error("✗ Module incorrectly has access to $_!");
|
|
return "ERROR: Module has $_ access";
|
|
} else {
|
|
console.log("✓ Module correctly does NOT have access to $_");
|
|
return "Module loaded without $_ access";
|
|
}
|
|
}
|
|
|
|
return {
|
|
test: test
|
|
}; |