1(function($){ 2 'use strict'; 3 $(function(){ 4 $('.cfb_wrapper').each(function(){ 5 var $wrapper = $(this); 6 var bootstrap = $wrapper.data('bootstrap-status'); 7 var fontawesome = $wrapper.data('fontawesome-icons'); 8 9 // 1) If Bootstrap is disabled: collapse the grid 10 if ( bootstrap !== 'enable' ) { 11 $wrapper.removeClass('flex-row'); 12 $wrapper.find('.cfb-box-wrapper').each(function(){ 13 var $box = $(this); 14 // replace any flex-col-md-N with flex-col-md 15 $box.attr('class', 16 $box.attr('class') 17 .split(/\s+/) 18 .map(function(cls){ 19 return cls.match(/^flex-col-md-\d+$/) 20 ? 'flex-col-md' 21 : cls; 22 }) 23 .join(' ') 24 ); 25 }); 26 } 27 28 // 2) If FontâAwesome is disabled: strip out only the <i> inside .flipbox-icon 29 if ( fontawesome !== 'enable' ) { 30 $wrapper.find('.flipbox-icon').children('i').remove(); 31 } 32 }); 33 }); 34})(jQuery); 35
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.