1(function ($) { 2 Drupal.behaviors.drupalexp_base = { 3 attach: function (context, settings) { 4 var lightbox2 = settings.lightbox2 || null; 5 if (lightbox2 !== null) { 6 7 } 8 } 9 } 10 /*Set detect device*/ 11 var setDevice = function () { 12 $('body').removeClass('dexp-xs dexp-sm dexp-md dexp-lg'); 13 var window_width = $(window).width(); 14 if (window_width < 768) { 15 $('body').addClass('dexp-xs'); 16 } else if (window_width < 993) { 17 $('body').addClass('dexp-sm'); 18 } else if (window_width < 1200) { 19 $('body').addClass('dexp-md'); 20 } else { 21 $('body').addClass('dexp-lg'); 22 } 23 }; 24 $(document).ready(function () { 25 setDevice(); 26 }); 27 $(window).bind('resize', function () { 28 setDevice(); 29 }); 30})(jQuery);
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.