Skip to content

Commit 11a1a9e

Browse files
committed
Remove functions not longer needed
1 parent ad2184f commit 11a1a9e

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 col;
282276
var container;
@@ -334,9 +328,6 @@ var underscore = _.noConflict();
334328
getFile: function() {
335329
return this.$el.parents( 'li' ).find( 'h2>a:first' ).text();
336330
},
337-
getLineNumberInDiff: function() {
338-
return Rows.getLineNumberInDiffByTr( this.el );
339-
},
340331
getLineNumberInFile: function() {
341332
// Get the linenumber within the file of this row. If the row is deleted, return it negated.
342333
var l = this.$lineNumberCell.text().trim();

0 commit comments

Comments
 (0)