1jQuery(function ($) { 2 3 $(document).ready(function () { 4 5 6 7 $('.image-popup ').magnificPopup({ 8 disableOn: 700, 9 type: 'image', 10 mainClass: 'mfp-fade', 11 removalDelay: 160, 12 preloader: true 13 14 15 }); 16 17 18 $('.gallery-item a').magnificPopup({ 19 // disableOn: 700, 20 type: 'image', 21 mainClass: 'mfp-fade', 22 removalDelay: 160, 23 preloader: true, 24 25 gallery:{enabled:true} 26 }); 27 28 $('.popup-modal').magnificPopup({ 29 type: 'inline', 30 preloader: false, 31 removalDelay: 160, 32 mainClass: 'mfp-fade', 33 modal: true 34 35 }); 36 37 38 $('.vid').magnificPopup({ 39 type: 'iframe', 40 41 mainClass: 'mfp-fade', 42 iframe: { 43 patterns: { 44 dailymotion: { 45 46 index: 'youtube.com', 47 48 id: function(url) { 49 var m = url.match(/^.+youtube.com\/(video|hub)\/([^_]+)[^#]*(#video=([^_&]+))?/); 50 if (m !== null) { 51 if(m[4] !== undefined) { 52 53 return m[4]; 54 } 55 return m[2]; 56 } 57 return null; 58 }, 59 60 src: 'http://www.youtube.com/embed/%id%' 61 62 } 63 } 64 } 65 66 67}); 68 69 70 71 $('.popup-modal-gall').magnificPopup({ 72 type: 'inline', 73 preloader: false, 74 gallery:{enabled:true}, 75 removalDelay: 160, 76 mainClass: 'mfp-fade', 77 modal: true 78 }); 79 80 }); 81}); 82 83 84 85
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.