Javascript add document.noalyss_debug global variable

This commit is contained in:
sparkyx 2024-11-15 21:04:28 +01:00
parent 8804860044
commit 096db515f1
4 changed files with 30 additions and 6 deletions

22
html/js/noalyss_debug.js Normal file
View file

@ -0,0 +1,22 @@
/*
* This file is part of NOALYSS.
*
* NOALYSS is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* NOALYSS is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with NOALYSS; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
/**
* @file this file is for enable debug , just check variable document.debug_noalyss
*/
document.debug_noalyss=true;