Skip to content

Commit

Permalink
update readme in preparation for release
Browse files Browse the repository at this point in the history
  • Loading branch information
bkdotcom committed Oct 14, 2022
1 parent b93fea6 commit 4c46782
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ It is installable and autoloadable via [Composer](https://getcomposer.org/) as [
```json
{
"require": {
"bdk/debug": "3.0b3",
"bdk/debug": "3.0",
}
}
```
Expand Down
2 changes: 1 addition & 1 deletion src/Debug/Dump/Html/Helper.php
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ public function tableAddContextRow($html, $row, $rowInfo, $index)
. '</tr>' . "\n";
$crateRawWas = $this->dumper->crateRaw;
$this->dumper->crateRaw = true;
$args = $rowInfo['args'] !== Abstracter::UNDEFINED
$args = \is_array($rowInfo['args']) && \count($rowInfo['args']) > 0
? '<hr />Arguments = ' . $this->dumper->valDumper->dump($rowInfo['args'])
: '';
$this->dumper->crateRaw = $crateRawWas;
Expand Down
3 changes: 3 additions & 0 deletions src/Debug/js/Debug.jquery.js
Original file line number Diff line number Diff line change
Expand Up @@ -840,6 +840,9 @@
enhanceValue($entry, this);
});
}
// table may have a expand collapse row that's initially expanded
// trigger expanded event (so, trace context args are enhanced, etc)
$entry.find('tbody > tr.expanded').next().trigger('expanded.debug.next');
makeSortable($entry.find('> table'));
}

Expand Down
2 changes: 1 addition & 1 deletion src/Debug/js/Debug.jquery.min.js

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions src/Debug/js_src/enhanceEntries.js
Original file line number Diff line number Diff line change
Expand Up @@ -328,6 +328,9 @@ function enhanceEntryTabular ($entry) {
enhanceValue($entry, this)
})
}
// table may have a expand collapse row that's initially expanded
// trigger expanded event (so, trace context args are enhanced, etc)
$entry.find('tbody > tr.expanded').next().trigger('expanded.debug.next')
tableSort.makeSortable($entry.find('> table'))
}

Expand Down

0 comments on commit 4c46782

Please sign in to comment.