narasiman rao

narasiman rao

  • NA
  • 519
  • 765.4k

Avoid line longer than 120 characters

Oct 12 2016 7:35 AM
 
 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)