%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 : /var/www/html/egp/vendor/yiisoft/yii2-debug/src/assets/js/ |
Upload File : |
(function () { 'use strict'; var on = function (element, event, handler) { var i; if (null === element) { return; } if (element instanceof NodeList) { for (i = 0; i < element.length; i++) { element[i].addEventListener(event, handler, false); } return; } if (!(element instanceof Array)) { element = [element]; } for (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'); for (var i = 0, len = links.length; i < len; i++) { new Tooltip(links[i]); on(links[i], 'show.bs.tooltip', function() { if (this.hasAttribute('data-memory')) { var data = this.dataset.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') })); })();