diff options
| author | Ben Harris <bjh21@bjh21.me.uk> | 2022-10-23 11:15:31 +0100 |
|---|---|---|
| committer | Ben Harris <bjh21@bjh21.me.uk> | 2022-10-23 11:15:31 +0100 |
| commit | a62217e9b42e81a66369f91600991944d148e0a9 (patch) | |
| tree | a7dbbba48307be10dcdffcce34e41d213102467f /PuzzleApplet.java | |
| parent | 0254a163ff002aca56a6e08d7a5799f34cf48d94 (diff) | |
| download | puzzles-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 'PuzzleApplet.java')
0 files changed, 0 insertions, 0 deletions