Skip to content

Commit

Permalink
Fix logo spin (#761)
Browse files Browse the repository at this point in the history
* fix spin logo

* generate doc
  • Loading branch information
maxence-charriere committed Aug 22, 2022
1 parent 441050b commit 3b9cd50
Show file tree
Hide file tree
Showing 25 changed files with 2,059 additions and 2,069 deletions.
186 changes: 93 additions & 93 deletions docs/actions.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions docs/app-worker.js
@@ -1,8 +1,8 @@
const cacheName = "app-" + "14a2a162a0ac80801aa21f83ff5b57d0a9226b3a";
const cacheName = "app-" + "752a92f3739e5d2f41ca7d4fa6f99d61479dc31f";
const resourcesToCache = ["/","/app.css","/app.js","/manifest.webmanifest","/wasm_exec.js","/web/app.wasm","/web/css/docs.css","/web/css/prism.css","/web/documents/home-next.md","/web/documents/home.md","/web/documents/updates.md","/web/documents/what-is-go-app.md","/web/js/prism.js","https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500\u0026display=swap","https://storage.googleapis.com/murlok-github/icon-192.png","https://storage.googleapis.com/murlok-github/icon-512.png"];

self.addEventListener("install", (event) => {
console.log("installing app worker 14a2a162a0ac80801aa21f83ff5b57d0a9226b3a");
console.log("installing app worker 752a92f3739e5d2f41ca7d4fa6f99d61479dc31f");

event.waitUntil(
caches
Expand All @@ -28,7 +28,7 @@ self.addEventListener("activate", (event) => {
);
})
);
console.log("app worker 14a2a162a0ac80801aa21f83ff5b57d0a9226b3a is activated");
console.log("app worker 752a92f3739e5d2f41ca7d4fa6f99d61479dc31f is activated");
});

self.addEventListener("fetch", (event) => {
Expand Down
13 changes: 4 additions & 9 deletions docs/app.js
Expand Up @@ -5,7 +5,7 @@ var goappNav = function () {};
var goappOnUpdate = function () {};
var goappOnAppInstallChange = function () {};

const goappEnv = {"GOAPP_INTERNAL_URLS":"null","GOAPP_ROOT_PREFIX":"","GOAPP_STATIC_RESOURCES_URL":"","GOAPP_VERSION":"14a2a162a0ac80801aa21f83ff5b57d0a9226b3a"};
const goappEnv = {"GOAPP_INTERNAL_URLS":"null","GOAPP_ROOT_PREFIX":"","GOAPP_STATIC_RESOURCES_URL":"","GOAPP_VERSION":"752a92f3739e5d2f41ca7d4fa6f99d61479dc31f"};
const goappLoadingLabel = "go-app documentation {progress}%";
const goappWasmContentLengthHeader = "";

Expand Down Expand Up @@ -203,11 +203,10 @@ async function goappInitWebAssembly() {
};
}

try {
const loaderIcon = document.getElementById("app-wasm-loader-icon");
loaderIcon.className = "goapp-logo";
const loaderIcon = document.getElementById("app-wasm-loader-icon");
const loaderLabel = document.getElementById("app-wasm-loader-label");

const loaderLabel = document.getElementById("app-wasm-loader-label");
try {
const showProgress = (progress) => {
loaderLabel.innerText = goappLoadingLabel.replace("{progress}", progress);
};
Expand All @@ -221,12 +220,8 @@ async function goappInitWebAssembly() {

go.run(wasm.instance);
} catch (err) {
const loaderIcon = document.getElementById("app-wasm-loader-icon");
loaderIcon.className = "goapp-logo";

const loaderLabel = document.getElementById("app-wasm-loader-label");
loaderLabel.innerText = err;

console.error("loading wasm failed: ", err);
}
}
Expand Down
194 changes: 97 additions & 97 deletions docs/architecture.html

Large diffs are not rendered by default.

208 changes: 104 additions & 104 deletions docs/components.html

Large diffs are not rendered by default.

198 changes: 99 additions & 99 deletions docs/concurrency.html

Large diffs are not rendered by default.

232 changes: 116 additions & 116 deletions docs/declarative-syntax.html

Large diffs are not rendered by default.

200 changes: 100 additions & 100 deletions docs/getting-started.html

Large diffs are not rendered by default.

192 changes: 96 additions & 96 deletions docs/github-deploy.html

Large diffs are not rendered by default.

230 changes: 115 additions & 115 deletions docs/index.html

Large diffs are not rendered by default.

188 changes: 94 additions & 94 deletions docs/install.html

Large diffs are not rendered by default.

196 changes: 98 additions & 98 deletions docs/js.html

Large diffs are not rendered by default.

208 changes: 104 additions & 104 deletions docs/lifecycle.html

Large diffs are not rendered by default.

218 changes: 109 additions & 109 deletions docs/migrate.html

Large diffs are not rendered by default.

202 changes: 101 additions & 101 deletions docs/notifications.html

Large diffs are not rendered by default.

208 changes: 104 additions & 104 deletions docs/privacy-policy.html

Large diffs are not rendered by default.

202 changes: 101 additions & 101 deletions docs/reference.html

Large diffs are not rendered by default.

210 changes: 105 additions & 105 deletions docs/routing.html

Large diffs are not rendered by default.

184 changes: 92 additions & 92 deletions docs/seo.html

Large diffs are not rendered by default.

214 changes: 107 additions & 107 deletions docs/states.html

Large diffs are not rendered by default.

220 changes: 110 additions & 110 deletions docs/static-resources.html

Large diffs are not rendered by default.

206 changes: 103 additions & 103 deletions docs/testing.html

Large diffs are not rendered by default.

Binary file modified docs/web/app.wasm
Binary file not shown.
11 changes: 3 additions & 8 deletions pkg/app/gen/app.js
Expand Up @@ -203,11 +203,10 @@ async function goappInitWebAssembly() {
};
}

try {
const loaderIcon = document.getElementById("app-wasm-loader-icon");
loaderIcon.className = "goapp-logo";
const loaderIcon = document.getElementById("app-wasm-loader-icon");
const loaderLabel = document.getElementById("app-wasm-loader-label");

const loaderLabel = document.getElementById("app-wasm-loader-label");
try {
const showProgress = (progress) => {
loaderLabel.innerText = goappLoadingLabel.replace("{progress}", progress);
};
Expand All @@ -221,12 +220,8 @@ async function goappInitWebAssembly() {

go.run(wasm.instance);
} catch (err) {
const loaderIcon = document.getElementById("app-wasm-loader-icon");
loaderIcon.className = "goapp-logo";

const loaderLabel = document.getElementById("app-wasm-loader-label");
loaderLabel.innerText = err;

console.error("loading wasm failed: ", err);
}
}
Expand Down
2 changes: 1 addition & 1 deletion pkg/app/scripts.go

Large diffs are not rendered by default.

0 comments on commit 3b9cd50

Please sign in to comment.