We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 65e6b4f commit 970ff60Copy full SHA for 970ff60
1 file changed
code_comments/htdocs/code-comments.js
@@ -271,12 +271,6 @@ var underscore = _.noConflict();
271
// wrap TH content in spans so we can hide/show them
272
this.wrapTHsInSpans();
273
},
274
- getLineNumberInDiffByTr: function( tr ) {
275
- return $.inArray( tr, this.$rows ) + 1;
276
- },
277
- getTrByLineNumberInDiff: function( line ) {
278
- return this.$rows[line - 1];
279
280
getTrByFileAndLineNumberInFile: function ( file, line) {
281
var col;
282
var container;
@@ -341,9 +335,6 @@ var underscore = _.noConflict();
341
335
else
342
336
return this.$th.first().text().trim() * -1;
343
337
344
- getLineNumberInDiff: function() {
345
- return Rows.getLineNumberInDiffByTr( this.el );
346
347
338
getDisplayLine: function() {
348
339
var lineNumber = this.getLineNumberInFile()
349
340
if (lineNumber > 0)
0 commit comments