diff --git a/code_comments/htdocs/code-comments.js b/code_comments/htdocs/code-comments.js index c0ae3d2..f9b0c0f 100644 --- a/code_comments/htdocs/code-comments.js +++ b/code_comments/htdocs/code-comments.js @@ -271,12 +271,6 @@ var underscore = _.noConflict(); // wrap TH content in spans so we can hide/show them this.wrapTHsInSpans(); }, - getLineNumberInDiffByTr: function( tr ) { - return $.inArray( tr, this.$rows ) + 1; - }, - getTrByLineNumberInDiff: function( line ) { - return this.$rows[line - 1]; - }, getTrByFileAndLineNumberInFile: function ( file, line) { var col; var container; @@ -334,9 +328,6 @@ var underscore = _.noConflict(); getFile: function() { return this.$el.parents( 'li' ).find( 'h2>a:first' ).text(); }, - getLineNumberInDiff: function() { - return Rows.getLineNumberInDiffByTr( this.el ); - }, getLineNumberInFile: function() { // Get the linenumber within the file of this row. If the row is deleted, return it negated. var l = this.$lineNumberCell.text().trim();