1jQuery(document).ready(function($) { 2 if( $(window).width() > 767 ) { 3 $('.wpb_image_grid_ul').magnificPopup({ 4 delegate: 'a', 5 type: 'image', 6 gallery:{ 7 enabled:true, 8 arrowMarkup: '<span title="%title%" class="mfp-arrow mfp-arrow-%dir%"><i class="fa fa-angle-%dir% mfp-prevent-close"></i></span>' 9 }, 10 image: { 11 verticalFit: true, 12 titleSrc: function(item) { 13 var pinterest; 14 var caption = item.el.attr('title'); 15 var pinItURL = "http://pinterest.com/pin/create/button/"; 16 // Refer to http://developers.pinterest.com/pin_it/ 17 pinItURL += '?url=' + 'http://dimsemenov.com/plugins/magnific-popup/'; 18 pinItURL += '&media=' + item.el.attr('href'); 19 pinItURL += '&description=' + caption; 20 pinterest = caption + ' · <a class="pin-it" href="'+pinItURL+'" target="_blank"><img src="http://assets.pinterest.com/images/pidgets/pin_it_button.png" /></a>'; 21 22 return pinterest; 23 } 24 }, 25 26 }); 27 } else { 28 var $a = $('.wpb_image_grid_ul a'); 29 var cnt = $a.contents(); 30 $a.replaceWith(cnt); 31 } 32});
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.