1// jQuery 2window.$ = window.jQuery = $; 3 4let numero_apresentacoes = $('.lista-apresentacoes button').length; 5 6for (let i = 0; i < numero_apresentacoes + 1; i++) { 7 $(`#btn-trocar-apresentacao-apresentacao-${i}`).click(function() { 8 console.log(i); 9 $('.lista-apresentacoes button, .nome-apresentacao, .foto-apresentacao, .get-price-apresentacao, .tabela-apresentacao ').removeClass('apresentacao-ativa'); 10 $(`#btn-trocar-apresentacao-apresentacao-${i}, .nome-apresentacao-${i}, .foto-apresentacao-${i}, .get-price-apresentacao-${i}, .tabela-apresentacao-${i} `).addClass('apresentacao-ativa'); 11 }); 12}
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.