1var portail=function($) { 2 3 function _init() { 4 5 var sliderSlct = $('.flexslider.custom-slider article .right h3 a'); 6 7 sliderSlct.each(function(index, element) { 8 $clamp(this, {clamp: 2, useNativeClamp: true}); 9 }); 10 11 // $('img[data-caption]').captionjs({ 12 // // Class name assigned to each <figure> 13 // 'class_name' : 'captionjs', 14 // // Use schema.org markup (i.e., itemtype, itemprop) 15 // 'schema' : true, 16 // // default | stacked | animated | hidden 17 // 'mode' : 'default', 18 // // Output debug info to the JS console 19 // 'debug_mode' : false, 20 // // Force the dimensions in case they can't be detected 21 // // e.g., image is not yet painted to viewport 22 // 'force_dimensions': false, 23 // // Ensure the figure and image change size when in responsive layout. 24 // // Requires a container to control responsiveness! 25 // 'is_responsive' : false, 26 // // Have the caption.js container inherit box-model properties from the original image 27 // 'inherit_styles' : false 28 // }); 29 30 31 /* 32 * Dev temporaire du 29/10/2019 33 * https://impactchallenge.withgoogle.com/france2019 34 */ 35 // $('article.actualite .content').each(function() { 36 // var content = $(this).html(); 37 // if (content.indexOf("https://impactchallenge.withgoogle.com/france2019") >= 0) { 38 // content = content.replace("https://impactchallenge.withgoogle.com/france2019", '<a href="https://impactchallenge.withgoogle.com/france2019" target="_blank">impactchallenge.withgoogle.com</a>'); 39 // $(this).html(content); 40 // } 41 // }); 42 43 } 44 45 return { 46 init:function() { 47 _init(); 48 } 49 } 50}(jQuery); 51 52jQuery(document).ready(function () 53{ 54 portail.init(); 55}); 56 57
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.