From bbcf14070b5f69d40b411267660da0e60b4eeb68 Mon Sep 17 00:00:00 2001 From: Thomas Weber Date: Fri, 18 Jun 2021 18:48:30 -0500 Subject: [PATCH] Code style --- src/scaffolding/example.html | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/scaffolding/example.html b/src/scaffolding/example.html index e3030d4..29670b6 100644 --- a/src/scaffolding/example.html +++ b/src/scaffolding/example.html @@ -148,8 +148,8 @@ }; setProgress(0.1); - const greenFlagButton = document.createElement("img"); - greenFlagButton.src = 'data:image/svg+xml,' + encodeURIComponent(``); + const greenFlagButton = document.createElement('img'); + greenFlagButton.src = 'data:image/svg+xml,' + encodeURIComponent(''); greenFlagButton.className = 'control-button'; greenFlagButton.addEventListener('click', () => { scaffolding.greenFlag(); @@ -165,8 +165,8 @@ where: 'top-left' }); - const stopAllButton = document.createElement("img"); - stopAllButton.src = 'data:image/svg+xml,' + encodeURIComponent(``); + const stopAllButton = document.createElement('img'); + stopAllButton.src = 'data:image/svg+xml,' + encodeURIComponent(''); stopAllButton.className = 'control-button'; stopAllButton.addEventListener('click', () => { scaffolding.stopAll(); @@ -178,7 +178,7 @@ if (document.fullscreenEnabled) { let isFullScreen = !!document.fullscreenElement; - const fullscreenButton = document.createElement("img"); + const fullscreenButton = document.createElement('img'); fullscreenButton.className = 'control-button fullscreen-button'; fullscreenButton.addEventListener('click', () => { if (isFullScreen) { @@ -195,9 +195,9 @@ }); const updateFullscreenImage = () => { if (isFullScreen) { - fullscreenButton.src = 'data:image/svg+xml,' + encodeURIComponent(``); + fullscreenButton.src = 'data:image/svg+xml,' + encodeURIComponent(''); } else { - fullscreenButton.src = 'data:image/svg+xml,' + encodeURIComponent(``); + fullscreenButton.src = 'data:image/svg+xml,' + encodeURIComponent(''); } }; updateFullscreenImage();