Skip to content

Commit 49e2c3a

Browse files
committed
remove unused function
1 parent 1cc43c3 commit 49e2c3a

File tree

4 files changed

+1
-37
lines changed

4 files changed

+1
-37
lines changed

example/styles.css

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -65,10 +65,6 @@ body {
6565
background: #fc0;
6666
}
6767

68-
.Differences .Skipped {
69-
background: #f7f7f7;
70-
}
71-
7268
.DifferencesInline .ChangeReplace .Left,
7369
.DifferencesInline .ChangeDelete .Left {
7470
background: #fdd;
@@ -90,4 +86,4 @@ body {
9086
pre {
9187
width: 100%;
9288
overflow: auto;
93-
}
89+
}

lib/jblond/Diff/Renderer/Html/HtmlArray.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,6 @@ public function renderHtml($changes, $object)
4747
// If this is a separate block, we're condensing code so output ...,
4848
// indicating a significant portion of the code has been collapsed as
4949
// it is the same
50-
if ($i > 0) {
51-
$html .= $object->generateSkippedTable();
52-
}
5350

5451
foreach ($blocks as $change) {
5552
$html .= '<tbody class="Change' . ucfirst($change['tag']) . '">';

lib/jblond/Diff/Renderer/Html/Inline.php

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -50,21 +50,6 @@ public function generateTableHeader(): string
5050
return $html;
5151
}
5252

53-
/**
54-
* Generates a string representation of empty table body.
55-
*
56-
* @return string Html code representing empty table body.
57-
*/
58-
public function generateSkippedTable(): string
59-
{
60-
$html = '<tbody class="Skipped">';
61-
$html .= '<th>&hellip;</th>';
62-
$html .= '<th>&hellip;</th>';
63-
$html .= '<td>&#xA0;</td>';
64-
$html .= '</tbody>';
65-
return $html;
66-
}
67-
6853
/**
6954
* Generates a string representation of one or more rows of a table of lines of text with no difference.
7055
*

lib/jblond/Diff/Renderer/Html/SideBySide.php

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -48,20 +48,6 @@ public function generateTableHeader(): string
4848
return $html;
4949
}
5050

51-
/**
52-
* Generates a string representation of empty table body.
53-
*
54-
* @return string Html code representing empty table body.
55-
*/
56-
public function generateSkippedTable(): string
57-
{
58-
$html = '<tbody class="Skipped">';
59-
$html .= '<th>&hellip;</th><td>&#xA0;</td>';
60-
$html .= '<th>&hellip;</th><td>&#xA0;</td>';
61-
$html .= '</tbody>';
62-
return $html;
63-
}
64-
6551
/**
6652
* Generates a string representation of one or more rows of a table of lines of text with no difference.
6753
*

0 commit comments

Comments
 (0)