modularize playground (prep for persistent/modular file handling)
This commit is contained in:
18
playground/static/worker.html
Normal file
18
playground/static/worker.html
Normal 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>
|
||||
Reference in New Issue
Block a user