PHP Classes

File: public/js/logger.min.js

Recommend this page to a friend!
  Classes of Josantonius   PHP Logger lib   public/js/logger.min.js   Download  
File: public/js/logger.min.js
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: PHP Logger lib
Log errors to files and display messages on a page
Author: By
Last change:
Date: 6 years ago
Size: 653 bytes
 

Contents

Class file image Download
var LOOGER=function(){function t(t){var a=.1;t.classList.remove("jst-no-display");var e=setInterval(function(){a>=1&&clearInterval(e),t.style.opacity=a,t.style.filter="alpha(opacity="+100*a+")",a+=.1*a},10)}function a(t){var a=1,e=setInterval(function(){a<=.1&&(clearInterval(e),t.classList.add("jst-no-display")),t.style.opacity=a,t.style.filter="alpha(opacity="+100*a+")",a-=.1*a},10)}for(var e=document.getElementsByClassName("jst-log-line"),l=0;l<e.length;l++)e[l].addEventListener("click",function(){for(var e=document.querySelectorAll("[data-"+this.id+"]"),l=0;l<e.length;l++)!0===e[l].classList.contains("jst-no-display")?t(e[l]):a(e[l])},!1)}();