media/jquery/tablesorter-master/js/widgets/widget-sort2Hash.js
Function init
has 44 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
init : function( c, wo ) {
var filter, temp, page, size,
table = c.table,
pager = c.pager,
hasSaveSort = ts.hasWidget( table, 'saveSort' ),
Function setHash
has 32 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
setHash : function( c, wo ) {
var str = '',
hash = window.location.hash,
hasPager = ts.hasWidget( c.table, 'pager' ),
hasFilter = ts.hasWidget( c.table, 'filter' ),
Function convertString2Sort
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
convertString2Sort : function( c, wo, sortHash ) {
var regex, column, direction, temp, index, $cell,
arry = sortHash.split( wo.sort2Hash_separator ),
indx = 0,
len = arry.length,
Function encodeHash
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
encodeHash : function( c, wo, component, value, rawValue ) {