diff --git a/code_comments/htdocs/code-comments.js b/code_comments/htdocs/code-comments.js index 8542cfd..8b2b734 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; @@ -341,9 +335,6 @@ var underscore = _.noConflict(); else return this.$th.first().text().trim() * -1; }, - getLineNumberInDiff: function() { - return Rows.getLineNumberInDiffByTr( this.el ); - }, getDisplayLine: function() { var lineNumber = this.getLineNumberInFile() if (lineNumber > 0)