diff options
author | Scott González <scott.gonzalez@gmail.com> | 2012-12-06 14:25:48 -0500 |
---|---|---|
committer | Scott González <scott.gonzalez@gmail.com> | 2012-12-06 14:31:21 -0500 |
commit | b239298946b466a0c87a0c1ead4ccd75141ed740 (patch) | |
tree | 0269c2abcaef975cb28479ab0f7fd51a18c74183 /ui/jquery.ui.autocomplete.js | |
parent | ebf8a601871c70ed4a7fdf28505fee6781d21504 (diff) | |
download | jquery-ui-b239298946b466a0c87a0c1ead4ccd75141ed740.tar.gz jquery-ui-b239298946b466a0c87a0c1ead4ccd75141ed740.zip |
Allow higher cyclomatic complexity in functions that sanely use switch statements.
Diffstat (limited to 'ui/jquery.ui.autocomplete.js')
-rw-r--r-- | ui/jquery.ui.autocomplete.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ui/jquery.ui.autocomplete.js b/ui/jquery.ui.autocomplete.js index 5edb84d44..c049b8569 100644 --- a/ui/jquery.ui.autocomplete.js +++ b/ui/jquery.ui.autocomplete.js @@ -66,6 +66,7 @@ $.widget( "ui.autocomplete", { this._on( this.element, { keydown: function( event ) { + /*jshint maxcomplexity:15*/ if ( this.element.prop( "readOnly" ) ) { suppressKeyPress = true; suppressInput = true; |