Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Slightly modernize the
FontLoader.isSyncFontLoadingSupported
getter
This is very old code, which is unused (by default) in browsers nowadays since the Font Loading API will always be preferred. For Node.js environments we use the same constant as elsewhere throughout the code-base, and we can also simplify the Firefox-specific check given that the lowest supported version is `102` (as of this writing). Finally the old TODO is removed, since the general availability of the Font Loading API has made it redundant.
- Loading branch information