From b239298946b466a0c87a0c1ead4ccd75141ed740 Mon Sep 17 00:00:00 2001 From: Scott González Date: Thu, 6 Dec 2012 14:25:48 -0500 Subject: Allow higher cyclomatic complexity in functions that sanely use switch statements. --- ui/jquery.ui.menu.js | 1 + 1 file changed, 1 insertion(+) (limited to 'ui/jquery.ui.menu.js') 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; -- cgit v1.2.3