modularize playground (prep for persistent/modular file handling)

This commit is contained in:
2024-12-07 16:58:10 -08:00
parent 421f5ea208
commit ba70845c09
11 changed files with 673 additions and 193 deletions

View File

@@ -0,0 +1,18 @@
<html>
<head>
<script src="worker.js"></script>
<script>
sendResponse = (msg) => {
console.log('RETURN', msg)
window.parent.postMessage(msg, '*')
}
console.log('WORKER INITIALIZED')
</script>
<script src="newt.js"></script>
</head>
<body>
</body>
</html>