Skip to content

Commit dcc4fb3

Browse files
committed
Remove functions not longer needed
1 parent 0b6ee53 commit dcc4fb3

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

0 commit comments

Comments
 (0)