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 Mar 30, 2018
1 parent ad2184f commit 11a1a9e
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 @@ -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();
Expand Down

0 comments on commit 11a1a9e

Please sign in to comment.