Skip to content

Commit 0b5ea7e

Browse files
committed
Enable strict mode and suppress non-relevant JSHint errors
1 parent 229ed15 commit 0b5ea7e

1 file changed

Lines changed: 13 additions & 1 deletion

File tree

‎src/js/_enqueues/vendor/thickbox/thickbox.js‎

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,21 @@
1+
'use strict';
12
/*
23
* Thickbox 3.1 - One Box To Rule Them All.
34
* By Cody Lindley (http://www.codylindley.com)
45
* Copyright (c) 2007 cody lindley
56
* Licensed under the MIT License: http://www.opensource.org/licenses/mit-license.php
6-
*/
7+
*/
8+
9+
/* global thickboxL10n, unescape */
10+
/* jshint -W018 */
11+
/* jshint -W038 */
12+
/* jshint -W040 */
13+
/* jshint -W069 */
14+
/* jshint -W082 */
15+
/* jshint -W097 */
16+
/* jshint -W098 */
17+
/* jshint -W109 */
18+
/* jshint -W116 */
719

820
if ( typeof tb_pathToImage != 'string' ) {
921
var tb_pathToImage = thickboxL10n.loadingAnimation;

0 commit comments

Comments
 (0)