From 78b57b38d212c673935fac0a8de3ac2dfab5bcb8 Mon Sep 17 00:00:00 2001 From: Greggman Date: Mon, 11 Mar 2024 10:30:29 -0700 Subject: [PATCH] Make the workload-simulator work as a sample (#386) * move workload simulator * Turn off eslint I'm not sure if I should go through and fix this or not `npm run fix` fixes a bunch and leaves 5 unused vars. Also switch to type module (removes use-strict) and stop checking for 11yr old rAF * make workload simulator work as sample --- index.html | 13 ------------- public/css/SampleLayout.css | 1 + .../workloadSimulator/index.html | 8 +++----- sample/workloadSimulator/meta.ts | 7 +++++++ src/main.ts | 13 +++++++++---- src/samples.ts | 3 +++ 6 files changed, 23 insertions(+), 22 deletions(-) rename public/workload-simulator.html => sample/workloadSimulator/index.html (99%) create mode 100644 sample/workloadSimulator/meta.ts diff --git a/index.html b/index.html index c653d30d..8d6aac89 100644 --- a/index.html +++ b/index.html @@ -41,19 +41,6 @@


-
-

Other Pages

- diff --git a/public/css/SampleLayout.css b/public/css/SampleLayout.css index fe186a40..9ec90d7f 100644 --- a/public/css/SampleLayout.css +++ b/public/css/SampleLayout.css @@ -13,6 +13,7 @@ height: 100%; border: none; display: block; + background-color: #fff; } .sampleCategory { diff --git a/public/workload-simulator.html b/sample/workloadSimulator/index.html similarity index 99% rename from public/workload-simulator.html rename to sample/workloadSimulator/index.html index 807490e8..a91519aa 100644 --- a/public/workload-simulator.html +++ b/sample/workloadSimulator/index.html @@ -199,9 +199,8 @@

Drag the logo, or choose "Animate".

Web graphics workload simulator

-