Skip to content

Commit 52045fb

Browse files
committed
Remove functions not longer needed
1 parent 5c26338 commit 52045fb

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

code_comments/htdocs/code-comments.js

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -278,12 +278,6 @@ var underscore = _.noConflict();
278278
// wrap TH content in spans so we can hide/show them
279279
this.wrapTHsInSpans();
280280
},
281-
getLineNumberInDiffByTr: function( tr ) {
282-
return $.inArray( tr, this.$rows ) + 1;
283-
},
284-
getTrByLineNumberInDiff: function( line ) {
285-
return this.$rows[line - 1];
286-
},
287281
getTrByFileAndLineNumberInFile: function ( file, line) {
288282
var col;
289283
var container;
@@ -341,9 +335,6 @@ var underscore = _.noConflict();
341335
getFile: function() {
342336
return this.$el.parents( 'li' ).find( 'h2>a:first' ).text();
343337
},
344-
getLineNumberInDiff: function() {
345-
return Rows.getLineNumberInDiffByTr( this.el );
346-
},
347338
getLineNumberInFile: function() {
348339
// Get the linenumber within the file of this row. If the row is deleted, return it negated.
349340
var l = this.$lineNumberCell.text().trim();

0 commit comments

Comments
 (0)