~horux-dev/horux-webcli/thfo

« back to all changes in this revision

Viewing changes to yii/framework/views/sk/profile-callstack-firebug.php

  • Committer: Thierry Forchelet
  • Date: 2011-02-25 13:30:15 UTC
  • Revision ID: thierry.forchelet@letux.ch-20110225133015-zxyj9w7sqv8ly971
Initial commit

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<script type="text/javascript">
 
2
/*<![CDATA[*/
 
3
if(typeof(console)=='object')
 
4
{
 
5
        console.group("Profilová zpráva zásobníka");
 
6
<?php
 
7
foreach($data as $index=>$entry)
 
8
{
 
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";
 
14
}
 
15
?>
 
16
        console.groupEnd();
 
17
}
 
18
/*]]>*/
 
19
</script>
 
 
b'\\ No newline at end of file'