From 220616bf76618e8c199b975759d1b04fb7d4d84b Mon Sep 17 00:00:00 2001 From: Will Eastcott Date: Thu, 12 Dec 2024 11:11:40 +0000 Subject: [PATCH] Lint fixes --- examples/scripts/ui.mjs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/examples/scripts/ui.mjs b/examples/scripts/ui.mjs index f81844f..f0a74f2 100644 --- a/examples/scripts/ui.mjs +++ b/examples/scripts/ui.mjs @@ -94,7 +94,7 @@ document.addEventListener('DOMContentLoaded', async () => { // Add AR button if available if (app.xr.isAvailable('immersive-ar')) { const arButton = createButton({ - icon: ``, + icon: '', title: 'Enter AR', onClick: () => app.xr.start(app.root.findComponent('camera'), 'immersive-ar', 'local-floor') }); @@ -104,7 +104,7 @@ document.addEventListener('DOMContentLoaded', async () => { // Add VR button if available if (app.xr.isAvailable('immersive-vr')) { const vrButton = createButton({ - icon: ``, + icon: '', title: 'Enter VR', onClick: () => app.xr.start(app.root.findComponent('camera'), 'immersive-vr', 'local-floor') }); @@ -119,8 +119,8 @@ document.addEventListener('DOMContentLoaded', async () => { // Add fullscreen button if supported if (document.documentElement.requestFullscreen && document.exitFullscreen) { - const enterFullscreenIcon = ``; - const exitFullscreenIcon = ``; + const enterFullscreenIcon = ''; + const exitFullscreenIcon = ''; const fullscreenButton = createButton({ icon: enterFullscreenIcon, @@ -146,7 +146,7 @@ document.addEventListener('DOMContentLoaded', async () => { // Add source button const filename = window.location.pathname.split('/').pop(); const sourceButton = createButton({ - icon: ``, + icon: '', title: 'View Source', onClick: () => window.open(`https://github.com/playcanvas/web-components/tree/main/examples/${filename}`, '_blank') });