Skip to content

Commit 85e8889

Browse files
committed
Remove functions not longer needed
1 parent cc0b275 commit 85e8889

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
@@ -271,12 +271,6 @@ var underscore = _.noConflict();
271271
// wrap TH content in spans so we can hide/show them
272272
this.wrapTHsInSpans();
273273
},
274-
getLineNumberInDiffByTr: function( tr ) {
275-
return $.inArray( tr, this.$rows ) + 1;
276-
},
277-
getTrByLineNumberInDiff: function( line ) {
278-
return this.$rows[line - 1];
279-
},
280274
getTrByFileAndLineNumberInFile: function ( file, line) {
281275
var containers = $( 'thead', 'table.code, table.trac-diff' );
282276
var container;
@@ -327,9 +321,6 @@ var underscore = _.noConflict();
327321
getFile: function() {
328322
return this.$el.parents( 'li' ).find( 'h2>a:first' ).text();
329323
},
330-
getLineNumberInDiff: function() {
331-
return Rows.getLineNumberInDiffByTr( this.el );
332-
},
333324
getLineNumberInFile: function() {
334325
// Get the linenumber within the file of this row. If the row is deleted, return it negated.
335326
var l = this.$lineNumberCell.text().trim();

0 commit comments

Comments
 (0)