The simple explanation is to maintain alignment to ensure valid Html is being coded, typically to locate closing elements in a tag set.
@Robin it's really not in this case. It's used here because it's more compact to insert elements with ${...}. The idea is the final TinyDash library ends up being... well... tiny - so extra characters used for indentation are far from ideal.
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
@Robin it's really not in this case. It's used here because it's more compact to insert elements with
${...}
. The idea is the final TinyDash library ends up being... well... tiny - so extra characters used for indentation are far from ideal.