1$cchuscvm = jQuery.noConflict(); 2 3$cchuscvm(function(){ 4 $cchuscvm('.cchus_cvm').each(function(){ 5 $this = $cchuscvm(this); 6 7 // Assignation d'un ID pour chacun 8 var stop = false; 9 $oParent = null; 10 do { 11 $oParent = $this.parent('div'); 12 if ($cchuscvm.trim($oParent.attr('id')) != '' || !$oParent) { 13 stop = true; 14 } 15 } while (!stop); 16 17 if ($oParent) { 18 $this.attr('id','cchuscvm_'+$oParent.attr('id')); 19 $fn = addIFrame($this.attr('id')); 20 if (typeof ga != 'undefined') { 21 ga($fn); 22 } else { 23 if (typeof gtag != 'undefined') { 24 gtag('config', 'GA_MEASUREMENT_ID', { 25 'linker': { 26 'domains': ['ciusss-estrie.cvmanager.com'] 27 } 28 }); 29 } 30 $fn(); 31 } 32 } 33 }); 34}); 35 36function addIFrame(iId) { 37 return function(tracker) { 38 window.linker = window.linker || (window.gaplugins ? new window.gaplugins.Linker(tracker) : null); 39 40 var transport = new easyXDM.Socket({ 41 remote: "https://ciusss-estrie.cvmanager.com/iframe/resize_intermediate.html?url=" + encodeURIComponent($cchuscvm.trim($cchuscvm('#'+iId).data('url'))), 42 container: iId, 43 onMessage: function(message, origin){ 44 this.container.getElementsByTagName("iframe")[0].style.height = parseInt(message) + 10 + "px"; 45 } 46 }); 47 }; 48}
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.