1
<script type="text/javascript">
3
if(typeof(console)=='object')
5
console.group("Profilová zpráva zásobníka");
7
foreach($data as $index=>$entry)
9
list($proc,$time,$level)=$entry;
10
$proc=CJavaScript::quote($proc);
11
$time=sprintf('%0.5f',$time);
12
$spaces=str_repeat(' ',$level*8);
13
echo "\tconsole.log(\"[$time]{$spaces}{$proc}\");\n";
b'\\ No newline at end of file'