scramjet playground

This commit is contained in:
velzie 2024-10-24 15:11:59 -04:00
parent 883d8fb4a9
commit 544b18643c
No known key found for this signature in database
GPG key ID: AA51AEFB0A1F3820
4 changed files with 313 additions and 3 deletions

View file

@ -122,7 +122,7 @@ function Config() {
`;
}
function App() {
function BrowserApp() {
this.urlencoded = "";
this.css = `
width: 100%;
@ -253,9 +253,8 @@ function App() {
</div>
`;
}
window.addEventListener("load", async () => {
document.body.appendChild(h(App));
document.body.appendChild(h(BrowserApp));
function b64(buffer) {
let binary = "";
const bytes = new Uint8Array(buffer);