Feat: Reemplazar texto hardcodeado por variable APP_NAME del .env

This commit is contained in:
2026-04-22 23:21:22 -06:00
parent 64610ecc90
commit a5e6f761b7
7 changed files with 14 additions and 9 deletions

View File

@@ -1,8 +1,10 @@
/**
* Nómina Pegaso - Global JavaScript Functions
* App Name: window.APP_NAME (configured via Blade template)
* Global JavaScript Functions
*/
document.addEventListener('DOMContentLoaded', function() {
var appName = window.APP_NAME || 'Nomina Pegasso';
// Initialize all components
initTooltips();
initAnimations();