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();
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 ( ) ;
You can’t perform that action at this time.
0 commit comments