Skip to content

Commit

Permalink
Remove functions not longer needed
Browse files Browse the repository at this point in the history
  • Loading branch information
SebDieBln committed Sep 22, 2019
1 parent 5c26338 commit 52045fb
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 @@ -278,12 +278,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();
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();
Expand Down

0 comments on commit 52045fb

Please sign in to comment.