1/** 2 * @file 3 * The video_embed_field lazy loading videos. 4 */ 5 6(function($, once) { 7 Drupal.behaviors.video_oembed_media_lazyLoad = { 8 attach: function (context, settings) { 9 $(once('video_media_oembed_media_lazy', '.video-oembed-media-lazy', context)).click(function(e) { 10 // Swap the lightweight image for the heavy JavaScript. 11 e.preventDefault(); 12 var $el = $(this); 13 $el.html($el.data('video-oembed-media-lazy')); 14 }); 15 } 16 }; 17})(jQuery, once);
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.