aboutsummaryrefslogtreecommitdiffstats
path: root/ui/jquery.ui.menu.js
diff options
context:
space:
mode:
authorScott González <scott.gonzalez@gmail.com>2012-12-06 14:25:48 -0500
committerScott González <scott.gonzalez@gmail.com>2012-12-06 14:31:21 -0500
commitb239298946b466a0c87a0c1ead4ccd75141ed740 (patch)
tree0269c2abcaef975cb28479ab0f7fd51a18c74183 /ui/jquery.ui.menu.js
parentebf8a601871c70ed4a7fdf28505fee6781d21504 (diff)
downloadjquery-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.menu.js')
-rw-r--r--ui/jquery.ui.menu.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/ui/jquery.ui.menu.js b/ui/jquery.ui.menu.js
index 45c1ec2e4..41a69c472 100644
--- a/ui/jquery.ui.menu.js
+++ b/ui/jquery.ui.menu.js
@@ -173,6 +173,7 @@ $.widget( "ui.menu", {
},
_keydown: function( event ) {
+ /*jshint maxcomplexity:20*/
var match, prev, character, skip, regex,
preventDefault = true;