deno-musings/test_changer.mjs

21 lines
522 B
JavaScript
Raw Normal View History

2024-10-12 12:28:41 -04:00
/////////////////// injected /////////////////////////
2024-10-10 10:00:12 -04:00
const thisURL = new URL(import.meta.url)
const thisFile = thisURL.pathname;
if(!thisURL.search)
{
2024-10-12 12:28:41 -04:00
await import("./test_sockets.mjs").then(m=>m.Register(thisFile, (module)=>{
for(let key in module)
{
eval(`${key}=module.${key}`);
}
}));
}
////////////////////////////////////////////
import spoofHook from "./test_framework.mjs?changer"
export let changing = "123.";
export function Component()
{
spoofHook();
2024-10-10 10:00:12 -04:00
}