Use strict should be inside function

Created on 21 September 2024, 8 months ago
Updated 14 April 2025, 27 days ago

I'm not a JS guru but my understanding is that "use strict" should be inside functions where possible, rather than in the global namespace. I'm basing this on #3336143 where a problem happens because of the loadjs library. Patch to follow.

πŸ› Bug report
Status

Needs review

Version

2.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States brockfanning

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024