Example #1
0
    echo make_url('debugger', array('debug_id' => '___debugid___'));
    ?>
';
                        <?php 
    $load_time = \thebuggenie\core\framework\Context::getLoadTime();
    $load_time = $load_time >= 1 ? round($load_time, 2) . 's' : round($load_time * 1000, 1) . 'ms';
    ?>
                        TBG.Core.AjaxCalls.push({location: 'Page loaded', time: new Date(), debug_id: '<?php 
    echo \thebuggenie\core\framework\Context::getDebugID();
    ?>
', loadtime: '<?php 
    echo $load_time;
    ?>
'});
                        TBG.loadDebugInfo('<?php 
    echo \thebuggenie\core\framework\Context::getDebugID();
    ?>
', f_init);
                    <?php 
} else {
    ?>
                        f_init();
                    <?php 
}
?>
                });
            });
        </script>
    </body>
</html>