jonrhall / jonrhall/ktns

Incompatible with strict mode

Open
#1 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
2
Forks
2
PR merge metrics
No merged PRs in 30d

Description

After an extensive debugging session on the KG discord, it turns out that the version of the D3 library this script uses is fatally incompatible with strict mode. If strict mode is enabled (for example, by having Tampermonkey's experimental setting for strict mode set to `Always`) the D3 library throws an exception when trying to read `this.document` where `this` is undefined. If strict mode is not enabled (set to `Disabled` or `Default` in the TM settings) the script functions normally.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.