File tree Expand file tree Collapse file tree 1 file changed +0
-9
lines changed Expand file tree Collapse file tree 1 file changed +0
-9
lines changed Original file line number Diff line number Diff line change @@ -270,12 +270,6 @@ var underscore = _.noConflict();
270
270
// wrap TH content in spans so we can hide/show them
271
271
this . wrapTHsInSpans ( ) ;
272
272
} ,
273
- getLineNumberInDiffByTr : function ( tr ) {
274
- return $ . inArray ( tr , this . $rows ) + 1 ;
275
- } ,
276
- getTrByLineNumberInDiff : function ( line ) {
277
- return this . $rows [ line - 1 ] ;
278
- } ,
279
273
getTrByFileAndLineNumberInFile : function ( file , line ) {
280
274
var containers = $ ( 'thead' , 'table.code, table.trac-diff' ) ;
281
275
var container ;
@@ -326,9 +320,6 @@ var underscore = _.noConflict();
326
320
getFile : function ( ) {
327
321
return this . $el . parents ( 'li' ) . find ( 'h2>a:first' ) . text ( ) ;
328
322
} ,
329
- getLineNumberInDiff : function ( ) {
330
- return Rows . getLineNumberInDiffByTr ( this . el ) ;
331
- } ,
332
323
getLineNumberInFile : function ( ) {
333
324
// Get the linenumber within the file of this row. If the row is deleted, return it negated.
334
325
var l = this . $lineNumberCell . text ( ) . trim ( ) ;
You can’t perform that action at this time.
0 commit comments