From e73226622083deb3ec5289ea517b9963e1998b77 Mon Sep 17 00:00:00 2001 From: seth Date: Fri, 17 Mar 2023 09:34:30 -0400 Subject: feat(actions): add prettier format action --- src/js/chrisApp.js | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) (limited to 'src') diff --git a/src/js/chrisApp.js b/src/js/chrisApp.js index 4881b7a..133b16d 100644 --- a/src/js/chrisApp.js +++ b/src/js/chrisApp.js @@ -1,22 +1,22 @@ const chrisURL = "/imgs/chris/"; function randomChris() { - const files = [ - "chis_very_fried.jpg", - "chris_medium_fried.jpg", - "chris_moshed.jpg", - "fried_publisher.jpg", - "help_me.png", - "nice_chris.png", - "nice_publisher.png", - "bkender_bauob.jpg", - "blurry_chris.jpg", - ]; + const files = [ + "chis_very_fried.jpg", + "chris_medium_fried.jpg", + "chris_moshed.jpg", + "fried_publisher.jpg", + "help_me.png", + "nice_chris.png", + "nice_publisher.png", + "bkender_bauob.jpg", + "blurry_chris.jpg", + ]; - // this chooses a random file from the array - const url = chrisURL + files[Math.floor(Math.random() * files.length)]; + // this chooses a random file from the array + const url = chrisURL + files[Math.floor(Math.random() * files.length)]; - window.location.href = url; + window.location.href = url; } const chris = document.getElementById("chris_gif"); -- cgit v1.2.3