Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Infinite loop protection is switched on when changing library version

Aperta
#4,303 6 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 3 giorni

Nessuno ha ancora preso questa issue.

  • #4312 di @dyk1454683243-sudo — chiusa senza merge

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
68/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
javascript
Ambito
frontend

Direzione di ricerca

Riprodurre il problema abilitando la protezione dai loop infiniti, tornando all’editor e modificando la versione della libreria. Esaminare il flusso di modifica della configurazione e l’HTML generato intorno alla riga !-- noprotect --; il lavoro è completato quando la modifica della versione della libreria mantiene l’impostazione di protezione e il marker dell’utente.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Bug Help Wanted Ready for Work
p5.js version

2.3.2

What is your operating system?

Mac OS

Web browser and version

Firefox 155.0.1

Actual Behavior

If you have the infinite loop protection 'on' and then change the library version it switches off the loop protection and the user has to remember to manually reinstate it. The <!-- noprotect --> line is removed from the html file.

Expected Behavior

I would expect the infinite loop protection on setting to be fixed and that it should only be changed by the user in the configuration settings.

Steps to reproduce
Steps:
  1. Create a sketch
  2. Set infinite loop protection on in the configuration settings
  3. Return to the editor pane
  4. Change the library version in the configuration settings

If you go back to the configuration settings or look in the HTML file this feature has been switched off.

Lingua principale
JavaScript
Stelle
1.7k
Fork
1.7k
Merge medio
3g 18h
PR unite (30g)
7

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di processing/p5.js-web-editor

Tutte le issue di processing/p5.js-web-editor

Issue simili

Altre issue su JavaScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.