%PDF-1.5 %���� ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµùÕ5sLOšuY
Server IP : 49.231.201.246 / Your IP : 216.73.216.149 Web Server : Apache/2.4.18 (Ubuntu) System : Linux 246 4.4.0-210-generic #242-Ubuntu SMP Fri Apr 16 09:57:56 UTC 2021 x86_64 User : root ( 0) PHP Version : 7.0.33-0ubuntu0.16.04.16 Disable Function : exec,passthru,shell_exec,system,proc_open,popen,pcntl_exec MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /proc/11584/cwd/html/ppaobm/vendor/yiisoft/yii2-debug/src/assets/js/ |
Upload File : |
(function () { 'use strict'; var on = function (element, event, handler) { if (element instanceof NodeList) { element.forEach(function (value) { value.addEventListener(event, handler, false); }); return; } if (!(element instanceof Array)) { element = [element]; } for (var i in element) { if (typeof element[i].addEventListener !== 'function') { continue; } element[i].addEventListener(event, handler, false); } }; var Timeline = function (options) { this.options = options; var self = this; this.init = function () { if (this.options.$focus) { this.options.$focus.focus(); delete this.options.$focus; } var links = document.querySelectorAll('.debug-timeline-panel__item a'); links.forEach(function (link) { new Tooltip(link); on(link, 'show.bs.tooltip', function() { if (this.dataset.hasDataAttr('memory')) { var data = this.dataset.getDataAttr('memory'); self.options.$memory.textContent = data[0]; self.options.$memory.style.bottom = data[1] + '%'; } }); }); return self; }; this.setFocus = function ($elem) { this.options.$focus = $elem; return $elem; }; on(document, 'pjax:success', function () { self.init(); }); on(self.options.$header, 'dblclick', function () { self.options.$timeline.classList.toggle('inline'); }); on(self.options.$header, 'click', function (e) { if (e.target.tagName.toLowerCase() === 'button') { self.options.$timeline.classList.toggle('inline'); } }); on(self.options.$search, 'change', function () { self.setFocus(this); this.form.submit(); }); this.init(); }; (new Timeline({ '$timeline': document.querySelector('.debug-timeline-panel'), '$header': document.querySelector('.debug-timeline-panel__header'), '$search': document.querySelectorAll('.debug-timeline-panel__search input'), '$memory': document.querySelector('.debug-timeline-panel__memory .scale') })); })();