15 lines
357 B
JavaScript
15 lines
357 B
JavaScript
// Test module - should NOT have access to $_
|
|
|
|
function test() {
|
|
if (typeof $_ !== 'undefined') {
|
|
log.error("✗ Module incorrectly has access to $_!");
|
|
return "ERROR: Module has $_ access";
|
|
} else {
|
|
log.console("✓ Module correctly does NOT have access to $_");
|
|
return "Module loaded without $_ access";
|
|
}
|
|
}
|
|
|
|
return {
|
|
test: test
|
|
}; |