From db00c107b88f9000d459ea263625bc39a8626549 Mon Sep 17 00:00:00 2001 From: Index Date: Wed, 3 Jul 2024 04:08:29 -0500 Subject: [PATCH] debug: add button to log item cache for avatar sandbox --- js/account/avatar-sandbox-rewrite.js | 4 ++++ resources/avatar-sandbox.html | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/js/account/avatar-sandbox-rewrite.js b/js/account/avatar-sandbox-rewrite.js index 8ca07c2..8846f4f 100644 --- a/js/account/avatar-sandbox-rewrite.js +++ b/js/account/avatar-sandbox-rewrite.js @@ -262,6 +262,10 @@ async function PageLoad() { LoadUser(LoadAsset.previousElementSibling.value) } }) + + document.getElementById('view-cache').addEventListener('click', function(){ + console.log('Cache: ', ItemCache) + }) } async function UpdateAvatar() { diff --git a/resources/avatar-sandbox.html b/resources/avatar-sandbox.html index 160625c..4f12338 100755 --- a/resources/avatar-sandbox.html +++ b/resources/avatar-sandbox.html @@ -41,7 +41,7 @@
Avatar Sandbox - Poly+ + Poly+