diff options
| author | Ben Harris <bjh21@bjh21.me.uk> | 2023-02-19 19:39:04 +0000 |
|---|---|---|
| committer | Ben Harris <bjh21@bjh21.me.uk> | 2023-02-19 19:39:04 +0000 |
| commit | bb16b5a70ddf77d03f1e985cb761ad5aa6c19b2c (patch) | |
| tree | fac5b0d64ef7246c0fb19203a708063bf721f55d /emcclib.js | |
| parent | e8ac0381f976f2dfd70fbe52e0ec59c1a8da9df6 (diff) | |
| download | puzzles-bb16b5a70ddf77d03f1e985cb761ad5aa6c19b2c.zip puzzles-bb16b5a70ddf77d03f1e985cb761ad5aa6c19b2c.tar.gz puzzles-bb16b5a70ddf77d03f1e985cb761ad5aa6c19b2c.tar.bz2 puzzles-bb16b5a70ddf77d03f1e985cb761ad5aa6c19b2c.tar.xz | |
js: Add a trivial error handler that alert()s
I'm not quite sure how useful it will be, but it does at least catch
an assertion failure in main() and present an opaque message in a box,
which is better than stopping and putting a message in the console
where no-one will see it.
Diffstat (limited to 'emcclib.js')
0 files changed, 0 insertions, 0 deletions