1function fb_imFooter_pluginAppObj_12() { 2 3 x5engine.boot.push(function(){ 4 5 $("#imFooter_pluginAppObj_12").addClass("pageplugin") 6 7 var imFooter_pluginAppObj_12_timeout = null; 8 9 var isMobileDevice = function () { 10 if ( x5engine.settings.breakPoints.length < 3 ) { 11 return false; 12 } 13 var preFluidBreakpoint = x5engine.settings.breakPoints[x5engine.settings.breakPoints.length - 2]; 14 return $(window).width() <= preFluidBreakpoint.start && Modernizr.touchevents; 15 }; 16 if("pageplugin" == "pageplugin" && isMobileDevice()){ 17 $('#imFooter_pluginAppObj_12 .fb-page').attr('data-width', parseInt(Math.floor($('#imFooter_pluginAppObj_12').parent().width()))); 18 } 19 20 //FACEBOOK JDK INCLUSION. ONLY ONCE PER PAGE 21 if($("#fb-jdk-container").length == 0){ 22 var lang = 'it_IT'; 23 var script = $("<script />", { 24 html: "(function(d, s, id) { var js, fjs = d.getElementsByTagName(s)[0]; if (d.getElementById(id)) return; js = d.createElement(s); js.id = id; js.src = \"//connect.facebook.net/" + lang + "/sdk.js#xfbml=1&version=v3.0\"; fjs.parentNode.insertBefore(js, fjs);}(document, \"script\", \"facebook-jssdk\"))" 25 }); 26 var fb_sdk_inclusion = "<div id=\"fb-jdk-container\"><div id=\"fb-root\"></div>" + script.prop('outerHTML') + "</div>"; 27 $("body").prepend(fb_sdk_inclusion); 28 } 29 30 $("#imContent").on("breakpointChangedOrFluid", function (e, breakpoint) { 31 if(imFooter_pluginAppObj_12_timeout === null) { 32 imFooter_pluginAppObj_12_timeout = window.setTimeout(function() { 33 imFooter_pluginAppObj_12_timeout = null; 34 $('#imFooter_pluginAppObj_12 .fb-page').removeClass('fb_iframe_widget fb_iframe_widget_fluid'); 35 FB.XFBML.parse(); 36 }, 300); 37 } 38 }); 39 40 41 }); 42}
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.