You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit aedfc3e
Browse filesBrowse the repository at this point in the historyBrowse files
committed
Use the function form of 'use strict' in thickbox.js
Move the strict-mode directive from file scope into each of the 10
outermost functions. A file-level 'use strict' would, if thickbox.js
were the first script in a concatenated bundle, force every other
script in that bundle into strict mode, potentially breaking scripts
that rely on sloppy-mode semantics. The function form scopes strict
mode to thickbox's own functions only.
The now-unnecessary JSHint W097 suppression ("Use the function form of
'use strict'") is removed since the function form no longer triggers it.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-Authored-By: siliconforks <siliconforks@git.wordpress.org>
0 commit comments