src/component/toolbox/feature/DataView.js
function isTSVFormat(block) {
    // Simple method to find out if a block is tsv format
    var firstLine = block.slice(0, block.indexOf('\n'));
    if (firstLine.indexOf(ITEM_SPLITER) >= 0) {
        return true;
    }
}
function isTSVFormat(block) {
    // Simple method to find out if a block is tsv format
    var firstLine = block.slice(0, block.indexOf('\n'));
    if (firstLine.indexOf(ITEM_SPLITER) >= 0) {
        return true;
    }
}
function isTSVFormat ( block ) { // Simple method to find out if a block is tsv format var firstLine = block . slice ( 0 , block . indexOf ( '\n' ) ) ; if ( firstLine . indexOf ( ITEM_SPLITER ) >= 0 ) { return true ; } }
If a block is tsv format
If a block is tsv format