From 7d688769cfcff98db7a05a74579b44feef3656c3 Mon Sep 17 00:00:00 2001 From: Jonas Jenwald Date: Sat, 18 Mar 2023 17:17:46 +0100 Subject: [PATCH] Clean-up the pre-processor statements in `web/viewer.html` Some of these pre-processor statements are *many* years old, and could thus do with some clean-up. Note that the pre-processor originally didn't support else-if statements, and by using those the code becomes a bit less verbose. --- web/viewer.html | 28 ++++++++++------------------ 1 file changed, 10 insertions(+), 18 deletions(-) diff --git a/web/viewer.html b/web/viewer.html index 582c7ee4d..4c0583c67 100644 --- a/web/viewer.html +++ b/web/viewer.html @@ -31,9 +31,12 @@ See https://github.com/adobe-type-tools/cmap-resources - - + + + + + @@ -42,11 +45,13 @@ See https://github.com/adobe-type-tools/cmap-resources - + + + + + - - - - - - - - - - - - - - -