« first day (4025 days earlier)      last day (909 days later) » 

6:50 AM
@Hypergardens For the benefit of others - ESLint works with TS. You need a bit of extra configuration to make it parse TS. Also one of the rules is broken, there is a package of TS specific rules which also has a replacement for the vanilla rule.
And ESLint can autofix files normally. You can also use Prettier if you wish.
 
 
11 hours later…
user16940297
5:46 PM
Kevin, you helped me with the last one.
 
user16940297
Changing this:


  const resetVideo = document.querySelectorAll(".exit");
  for (let i = 0; i < resetVideo.length; i++) {
    resetVideo[i].addEventListener("click", function resetVideoHandler() {
      resetVideo[i].parentElement.querySelector(".wrap").player.destroy();
    });
  }


to this:

  function resetVideoHandler() {
    resetVideo[i].parentElement.querySelector(".wrap").player.destroy();
  }

  const resetVideo = document.querySelectorAll(".exit");
  for (let i = 0; i < resetVideos.length; i++) {
 
user17161735
7:47 PM
@Makyen thank you for the review of the post i will goingto edit it and add the enhancemente needed to meet your apoint...
 
@Arcanis-TheOmnipotent Welcome to the JavaScript chat! Please review the room rules. If you have a question, just post it, and if anyone's free and interested they'll help. If you want to report an abusive user or a problem in this room, visit our meta.
 

« first day (4025 days earlier)      last day (909 days later) »