From 7cd40bbd61448bf8dcb2643847a4669c6f877d87 Mon Sep 17 00:00:00 2001 From: Nathan Dunn Date: Tue, 6 Feb 2018 13:16:40 -0800 Subject: [PATCH] removed unused lines --- src/JBrowse/Store/TabixIndexedFile.js | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/src/JBrowse/Store/TabixIndexedFile.js b/src/JBrowse/Store/TabixIndexedFile.js index 3f892a4f9c..fba74d1908 100644 --- a/src/JBrowse/Store/TabixIndexedFile.js +++ b/src/JBrowse/Store/TabixIndexedFile.js @@ -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); };