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 Jan 13, 2018
1 parent 0b6ee53 commit dcc4fb3
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 @@ -270,12 +270,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 containers = $( 'thead', 'table.code, table.trac-diff' );
var container;
Expand Down Expand Up @@ -326,9 +320,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 dcc4fb3

Please sign in to comment.