8000 [Var-Dumper] added feature to set default nodes collapsed by MGDSoft · Pull Request #18148 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content

[Var-Dumper] added feature to set default nodes collapsed #18148

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 11 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
[Var-Dumper] added feature to set default nodes collapsed
modify js htmldumper and add attr in root node
  • Loading branch information
MGDSoft committed Apr 2, 2016
commit 336baedb8abea14a8310a62f35237a7a1ef1868a
4 changes: 2 additions & 2 deletions src/Symfony/Component/VarDumper/Dumper/HtmlDumper.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ class HtmlDumper extends CliDumper
);

protected $jsProperties = array(
'collapsedByDefaultNodesHigherThan' => 1
'collapsedByDefaultNodesHigherThan' => 1,
);

/**
Expand Down Expand Up @@ -467,7 +467,7 @@ protected function dumpLine($depth, $endOfValue = false)
$this->dumpId,
$this->indentPad,
$this->jsProperties['collapsedByDefaultNodesHigherThan']
) . $this->line;
).$this->line;
}
if (!$this->headerIsDumped) {
$this->line = $this->getDumpHeader().$this->line;
Expand Down
0