mirror of
https://github.com/MercuryWorkshop/scramjet.git
synced 2025-05-14 15:00:01 -04:00
chore: prettier
This commit is contained in:
parent
b3eeb91a2d
commit
9db2842c95
4 changed files with 19 additions and 19 deletions
|
@ -49,7 +49,7 @@ const store = $store(
|
|||
"/bare/",
|
||||
proxy: "",
|
||||
},
|
||||
{ ident: "settings", backing: "localstorage", autosave: "auto" },
|
||||
{ ident: "settings", backing: "localstorage", autosave: "auto" }
|
||||
);
|
||||
connection.setTransport("/libcurl/index.mjs", [{ wisp: store.wispurl }]);
|
||||
function App() {
|
||||
|
@ -146,7 +146,7 @@ function App() {
|
|||
if (url === "about:blank") return;
|
||||
|
||||
this.url = $scramjet.codecs.plain.decode(
|
||||
url.substring((location.href + "/scramjet").length),
|
||||
url.substring((location.href + "/scramjet").length)
|
||||
);
|
||||
});
|
||||
|
||||
|
@ -193,7 +193,7 @@ function App() {
|
|||
<div class=${[flex, "nav"]} style="width: 60%">
|
||||
<button on:click=${() => frame.back()}><-</button>
|
||||
<input class="bar" style="flex: 1" bind:value=${use(this.url)} on:input=${(
|
||||
e,
|
||||
e
|
||||
) => {
|
||||
this.url = e.target.value;
|
||||
}} on:keyup=${(e) => e.keyCode == 13 && (store.url = this.url) && handleSubmit()}></input>
|
||||
|
@ -227,6 +227,6 @@ padding-bottom: 100px;
|
|||
background-size: contain;
|
||||
background-position: center center;
|
||||
background-repeat: no-repeat;
|
||||
`,
|
||||
`
|
||||
);
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue