diff options
author | Victor Häggqvist <[email protected]> | 2014-06-27 16:15:14 +0200 |
---|---|---|
committer | Victor Häggqvist <[email protected]> | 2014-06-27 16:15:14 +0200 |
commit | d90b34f6eb14e6f0353b22ad36e012f5440afc34 (patch) | |
tree | c3455c457022c9ac617760615584c98e146b02ec /js | |
parent | 5e95e03ea0e14a4781a76b16bc8ec7f5c2ab3297 (diff) |
inline ignore for sublime linter
Diffstat (limited to '')
-rw-r--r-- | js/touch-imagelightbox.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/js/touch-imagelightbox.js b/js/touch-imagelightbox.js index db4b60c..f5bbe2f 100644 --- a/js/touch-imagelightbox.js +++ b/js/touch-imagelightbox.js @@ -72,7 +72,9 @@ inProgress = false, isTargetValid = function( element ) { + /*jshint -W044*/ options.regexValidObject = new RegExp("(\.("+options.allowedTypes+")$)"); + /*jshint +W044*/ return $( element ).prop( 'tagName' ).toLowerCase() === 'a' && options.regexValidObject.test($(element).attr('href') ); }, @@ -329,4 +331,4 @@ return this; }; -})( jQuery, window, document );
\ No newline at end of file +})( jQuery, window, document ); |