diff options
| author | Ben Harris <bjh21@bjh21.me.uk> | 2023-03-01 22:13:59 +0000 |
|---|---|---|
| committer | Ben Harris <bjh21@bjh21.me.uk> | 2023-03-01 22:17:16 +0000 |
| commit | c0f715fbaca77fbb6e86de604098d82687bdea48 (patch) | |
| tree | 8b87dc2bd808292252d17268b0e379e7adc4316b /loopgen.c | |
| parent | 5a74693b329eadb69153b150754eb099a0c87e9a (diff) | |
| download | puzzles-c0f715fbaca77fbb6e86de604098d82687bdea48.zip puzzles-c0f715fbaca77fbb6e86de604098d82687bdea48.tar.gz puzzles-c0f715fbaca77fbb6e86de604098d82687bdea48.tar.bz2 puzzles-c0f715fbaca77fbb6e86de604098d82687bdea48.tar.xz | |
KaiOS: be more cautious about determining whether KaiAds is present
Just checking for the getKaiAd() function by doing "if (!getKaiAd ..."
throws a ReferenceError if it's not defined, and now my error box
catches that. Using "if (getKaiAd === undefined ..." seems to be
acceptable, though.
Diffstat (limited to 'loopgen.c')
0 files changed, 0 insertions, 0 deletions