resources/lib/jquery.client/jquery.client.js
Function profile
has 90 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
profile: function ( nav ) {
if ( !nav ) {
nav = window.navigator;
}
Function test
has 48 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
test: function ( map, profile, exactMatchOnly ) {
var conditions, dir, i, op, val, j, pieceVersion, pieceVal, compare;
profile = $.isPlainObject( profile ) ? profile : $.client.profile();
if ( map.ltr && map.rtl ) {
dir = $( document.body ).is( '.rtl' ) ? 'rtl' : 'ltr';
Avoid too many return
statements within this function. Open
Open
return true;
Avoid too many return
statements within this function. Open
Open
return false;