loaded.js 467 B

1234567891011121314151617
  1. let windowMode = 'cmd';
  2. $(() => {
  3. const shell = new Cmd({
  4. selector: '#cmd',
  5. busy_text: 'Traitement...',
  6. unknown_cmd: 'Commande non reconnue, tapez "aide" pour avoir la liste des commandes disponibles'
  7. });
  8. /* --- Konami Code --- */
  9. const easterEgg = new Konami(function() {
  10. windowMode = (windowMode == 'cmd') ? 'pico' : 'cmd';
  11. $('#cmd').toggleClass('none');
  12. $('#pico').toggleClass('none');
  13. });
  14. });