Skip to content

Commit

Permalink
Remove functions that are not used any more
Browse files Browse the repository at this point in the history
  • Loading branch information
SebDieBln committed Aug 30, 2023
1 parent 65e6b4f commit 970ff60
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions code_comments/htdocs/code-comments.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit 970ff60

Please sign in to comment.