3
Reply

Avoid line longer than 120 characters

narasiman rao

narasiman rao

Oct 12 2016 7:35 AM
317
 
 My code as follows
 
 
$(this).quicksearch("[id*=gridVendor] tr:not(:has(th))", {
 
'testQuery': function (query, txt, row) {
 
return $(row).children(":eq(" + 1 + ")").text().toLowerCase().indexOf(query[0].toLowerCase()) != -1; 
        }
     } 
 
From the above code the below line is exceeding 120 characters 
 
return $(row).children(":eq(" + 1 + ")").text().toLowerCase().indexOf(query[0].toLowerCase()) != -1;  

Answers (3)