1(function ($, Drupal, drupalSettings) { 2 "use strict"; 3 /** 4 * Attaches the JS test behavior to weight div. 5 */ 6 7 var effectsIn = drupalSettings.inEffects, 8 effectsOut = drupalSettings.outEffects; 9 $(document).ready(function(){ 10 window.listMegaSlide = []; 11 var i = 0, 12 cssInline = ''; 13 $('.md-slide-items').each(function(){ 14 var slid = $(this).attr('id').split('-')[2], 15 slider = drupalSettings.md_slider[slid]; 16 listMegaSlide[i] = $(this).mdSlider(slider); 17 if(slider.device_enable){ 18 cssInline += '@media (max-width: ' + slider.device_width + 'px) {\ 19 #md-slider-' + slid + '-block .md-objects {\ 20 display: none;\ 21 }\ 22 } '; 23 } 24 25 if(slider.device_width){ 26 cssInline += '@media (max-width: ' + slider.device_width + 'px) {\ 27 .hideonmobile {\ 28 display: none !important;\ 29 }\ 30 }'; 31 } 32 33 i++; 34 }); 35 $('head').append('<style>' +cssInline + '</style>'); 36 }); 37})(jQuery, Drupal, drupalSettings);
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.