[Proto-Scripty] Re: removeEventListener: 22 lines, 22 hours, 0 solution

2011-04-07 Thread alexflex25
Your french is perfect, and your reply too! Thank you! On 7 avr, 13:35, "T.J. Crowder" wrote: > Hi, > > Every time you call `bind`, a *new* function is created. To remove an > event listener, you have to give `removeEventListener` a reference to > the *same function* that you gave `addEventListe

[Proto-Scripty] Re: removeEventListener: 22 lines, 22 hours, 0 solution

2011-04-07 Thread T.J. Crowder
Hi, Every time you call `bind`, a *new* function is created. To remove an event listener, you have to give `removeEventListener` a reference to the *same function* that you gave `addEventListener`. (Chaque fois que vous appelez `bind`, une *nouvelle* fonction est créée. Pour supprimer un écouteur