1(function($, _, ts) { 2 3 $(document).ready(function(){ 4 var observer = new MutationObserver(function(e) { 5 console.log('card error detected'); 6 var errdiv = e[0].target; 7 var olderr = $(errdiv).text(); 8 var newerr = olderr.replace('Votre code postal est incomplet.', 'Le code postal associé à la carte de crédit est incomplet.'); 9 if (olderr != newerr) { 10 $(errdiv).text(newerr); 11 $(errdiv).append('<div class="arrow-up postal"></div>'); 12 } 13 }); 14 observer.observe($('#card-errors')[0], {characterData: true, childList: true}); 15 }); 16 17})(CRM.$, CRM._, CRM.ts('journaldesvoisins'));
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.