Skip to content

Commit

Permalink
removed unused lines
Browse files Browse the repository at this point in the history
  • Loading branch information
nathandunn committed Feb 6, 2018
1 parent f528353 commit 7cd40bb
Showing 1 changed file with 0 additions and 19 deletions.
19 changes: 0 additions & 19 deletions src/JBrowse/Store/TabixIndexedFile.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,25 +40,6 @@ return declare( null, {
}, errorCallback);
},

countLines: function( ref, min, max, itemCallback, finishCallback, errorCallback ) {
var thisB = this;
var args = Array.prototype.slice.call(arguments);
this.indexLoaded.then(function() {
thisB._count.apply( thisB, args );
}, errorCallback);
},

_count: function( ref, min, max, itemCallback, finishCallback, errorCallback ) {
errorCallback = errorCallback || function(e) { console.error(e, e.stack); };

var chunks = this.index.blocksForRange( ref, min, max);
if ( ! chunks ) {
errorCallback('Error in index fetch ('+[ref,min,max].join(',')+')');
return;
}
return chunks.length ;
},

_fetch: function( ref, min, max, itemCallback, finishCallback, errorCallback ) {
errorCallback = errorCallback || function(e) { console.error(e, e.stack); };

Expand Down

0 comments on commit 7cd40bb

Please sign in to comment.