Skip to content

Commit b945f04

Browse files
committed
Remove functions that are not used any more
1 parent bdef810 commit b945f04

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;
@@ -341,9 +335,6 @@ var underscore = _.noConflict();
341335
else
342336
return this.$th.first().text().trim() * -1;
343337
},
344-
getLineNumberInDiff: function() {
345-
return Rows.getLineNumberInDiffByTr( this.el );
346-
},
347338
getDisplayLine: function() {
348339
var lineNumber = this.getLineNumberInFile()
349340
if (lineNumber > 0)

0 commit comments

Comments
 (0)