1function require(script) { 2 $.ajax({ 3 url: script, 4 dataType: "script", 5 async: false, // <-- This is the key 6 success: function () { 7 // all good... 8 }, 9 error: function () { 10 throw new Error("Could not load script " + script); 11 } 12 }); 13} 14 15 16 17 18 19 20$(document).ready(function () { 21 $('.lazy').Lazy(); 22 $('.lazyAll').Lazy({ 23 delay: 0 24 }) 25 26 $('img.lazy').on('load',function(){ 27 /* console.log(this)//fires this function when it appears*/ 28 29 $(".imgLiquidFill").imgLiquid({ 30 fill: true, 31 horizontalAlign: "center", 32 verticalAlign: "center" 33 }); 34}); 35 36}) 37 38 39 40/*$(document).ready(function () { 41 42 $(".imgLiquidFill").imgLiquid({ 43 fill: true, 44 horizontalAlign: "center", 45 verticalAlign: "center" 46 }); 47 48 $(".imgLiquidNoFill").imgLiquid({ 49 fill: false, 50 horizontalAlign: "center", 51 verticalAlign: "50%" 52 }); 53 54}); 55*/ 56 57 58 59
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.