From cadccc56958a5bd12e2140e35ba904e6d39fe3dd Mon Sep 17 00:00:00 2001 From: redfast00 Date: Fri, 11 Feb 2022 21:38:27 +0100 Subject: [PATCH] Download font, fix typo's --- python/static/css/controller.css | 2 +- python/static/fonts/digital-webfont.woff | Bin 0 -> 11916 bytes python/static/js/controller.js | 5 +---- 3 files changed, 2 insertions(+), 5 deletions(-) create mode 100644 python/static/fonts/digital-webfont.woff diff --git a/python/static/css/controller.css b/python/static/css/controller.css index f500b47..f01a61a 100644 --- a/python/static/css/controller.css +++ b/python/static/css/controller.css @@ -1,6 +1,6 @@ @font-face { font-family: "digital"; - src: url("https://s3-us-west-2.amazonaws.com/s.cdpn.io/38273/digital-webfont.woff"); + src: url("/static/fonts/digital-webfont.woff"); font-weight: normal; font-style: normal; } diff --git a/python/static/fonts/digital-webfont.woff b/python/static/fonts/digital-webfont.woff new file mode 100644 index 0000000000000000000000000000000000000000..c7fd76c659d56b9e1ffe868a10d9e52ff0b5f3aa GIT binary patch literal 11916 zcmbt)V{m0n)b5GxOfa!++t$QRPHb~xOzdQ0n-d$86Wg{Xnb_vdyx;fd{<~GTcR$s= zp0yggt9Lc_@=%hL1b_iP17kD*?Oz(T{Xg=*{Qn&!CDjxF0I+~h7XKe+qgQjJ#3dv@ zxvWo_;1k4vasZ@~DiiA`*ZC=b>HxsR1OF8hJ0nK`037mDKK|4dP&cE?nz*|Xe{z?f z9M(U;sDL|~J6hNQ01&XBHg%smGu1|>QVS!O&$5vJ>igvX1FD7Xck@rK9{?aP004Ze zu!PwwEX|Be0RS4yPaCFBa6(nFd0BpvpIq9fO!^6Oq;(i#OFLK3PwroR&!6pF7C>_c z*gBYe+R?Uta!3F88Bi0Xoss8fyL3gLGSMf9!ScX!?TzfrKDp0!!RS8w_k*+iTZW^9 ziz@&?|M?zZgrDfAilkq3bT<1e%ZU0}?o$UyVX=gN@Gvv}>@(w!PZ|0j`n6PDKGXk3 ze_Wto>N5}EZ0dddmrkX-E_$w-08N3wZ3tsHX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Q9?@+W0?SyMTo%wI4)pfpK~Q7VM)D5C(J zscuxRpJMVUymdTOj?~~_+>OjY`JHB0b8*AF-+}x*$yahcagWDnlmJ(=NN?EV=h|Lc z#c6=ehF&rW$G%6CSqXJ&m)iPLm75Yym|#s?#Ini&OOQ6iK%1`E8J<3aBY(L6R6@118#*?tSB8EnwlTE_HB}TIja%0G|4zSah zOD7qn(7TK`fJo)&8+vJNsv3GIb!{8^7`;zjKqON5F1<7sSxFd`%l(YVPLXo!y9v%$ zkxH*BBw*z~iEBEqMzAk@E=ft?9iltnlDeQTGIYpd2(JU`rFh0dxCc>r;_9%yZP6#5`VB-CAm+pXwTKPp2u!C2ot8@ z2k6*<@R;am-vqpkyT(wq1;>@-{HOCE5)meR@OphBj1Q`MZ zL=tD(6ynZ_@KZFNRv!F{Fgm@wv2aApxV@P$nnpYO_&-#cu6_Uj literal 0 HcmV?d00001 diff --git a/python/static/js/controller.js b/python/static/js/controller.js index 65918da..48f9d8f 100644 --- a/python/static/js/controller.js +++ b/python/static/js/controller.js @@ -106,7 +106,7 @@ function updateGameState() { new Date().getTime() + data.timeleft * 1000 ); - // Calculate the ew total amount of strikes for all puzzles. + // Calculate the total amount of strikes for all puzzles. const newStrikes = data.puzzles .map((p) => p.strikes) .reduce((a, b) => a + b, 0); @@ -206,9 +206,6 @@ function updateSegmentDisplay() { * When the window is loaded. */ window.addEventListener("load", () => { - // Initiliaz the game state. initializeGameState(); - - // Initialize the segment display. initializeSegmentDisplay(); });