2013-08-14 21:37:24 +10:00
|
|
|
<script type="text/javascript">
|
2013-09-19 16:31:50 -04:00
|
|
|
jQuery.noConflict(true);
|
2013-08-14 21:37:24 +10:00
|
|
|
var phpdebugbar = new PhpDebugBar.DebugBar();
|
|
|
|
phpdebugbar.addTab("messages", new PhpDebugBar.DebugBar.Tab({"title":"Messages", "widget": new PhpDebugBar.Widgets.MessagesWidget()}));
|
|
|
|
phpdebugbar.addIndicator("time", new PhpDebugBar.DebugBar.Indicator({"icon":"time"}));
|
|
|
|
phpdebugbar.setDataMap({
|
|
|
|
"messages": ["messages.messages", []],
|
|
|
|
"messages:badge": ["messages.count", null],
|
|
|
|
"time": ["time", "0s"]
|
|
|
|
});
|
|
|
|
phpdebugbar.restoreState();
|
2013-09-15 11:40:37 -04:00
|
|
|
phpdebugbar.ajaxHandler = new PhpDebugBar.AjaxHandler(phpdebugbar);
|
2013-10-07 10:49:52 -04:00
|
|
|
if (jQuery) phpdebugbar.ajaxHandler.bindToJquery(jQuery);
|
2013-08-14 22:12:33 +10:00
|
|
|
phpdebugbar.addDataSet(
|