debug: false
};
- /* debuging utils */
- //
- // function benchmark( s, d ) {
- // console.log( s + " " + ( new Date().getTime() - d.getTime() ) + "ms" );
- // }
- //
- // this.benchmark = benchmark;
- //
/* parsers utils */
function buildParserCache( table, $headers ) {
if (p === false) {
p = detectParserForColumn( table, rows, i );
}
- // if ( table.config.debug ) {
- // console.log( "column:" + i + " parser:" + p.id + "\n" );
- // }
+
list.push(p);
}
}
table.config.headerList[index] = this;
} );
- // if ( table.config.debug ) {
- // benchmark( "Built headers:", time );
- // console.log( $tableHeaders );
- // }
- //
return $tableHeaders;
}