aboutsummaryrefslogtreecommitdiff
path: root/html/map.html
diff options
context:
space:
mode:
authorBen Harris <bjh21@bjh21.me.uk>2022-10-23 11:15:31 +0100
committerBen Harris <bjh21@bjh21.me.uk>2022-10-23 11:15:31 +0100
commita62217e9b42e81a66369f91600991944d148e0a9 (patch)
treea7dbbba48307be10dcdffcce34e41d213102467f /html/map.html
parent0254a163ff002aca56a6e08d7a5799f34cf48d94 (diff)
downloadpuzzles-a62217e9b42e81a66369f91600991944d148e0a9.zip
puzzles-a62217e9b42e81a66369f91600991944d148e0a9.tar.gz
puzzles-a62217e9b42e81a66369f91600991944d148e0a9.tar.bz2
puzzles-a62217e9b42e81a66369f91600991944d148e0a9.tar.xz
js: Use less-modern syntax in update_pixel_ratio
Stealing code from the MDN has the consequence that it uses shiny ES6 features like "const", "let", and "=>". This looks a bit odd among the more conservative style of the rest of Puzzles, so I've downgraded it to "var" and "function". I'll let the template string stay because that actually helps readability.
Diffstat (limited to 'html/map.html')
0 files changed, 0 insertions, 0 deletions