1(function($, window, document, undefined) { 2 'use strict'; 3 4 // init cubeportfolio 5 var _cols = 2; 6 if( $('#grid-container').data('cols') != undefined ){ 7 _cols = $('#grid-container').data('cols'); 8 } 9 var _gap = 45, _gaph = 45; 10 if( _cols == 3 ){ 11 _gap = 20; 12 _gaph = 20; 13 }else if( _cols == 4 ){ 14 _gap = 10; 15 _gaph = 10; 16 } 17 if( $('#grid-container').data('gap') != undefined ){ 18 _gap = $('#grid-container').data('gap'); 19 } 20 if( $('#grid-container').data('gaph') != undefined ){ 21 _gaph = $('#grid-container').data('gaph'); 22 } 23 $('#grid-container').cubeportfolio({ 24 filters: '#filters-container', 25 loadMore: '#loadMore-container', 26 loadMoreAction: 'auto', 27 layoutMode: 'grid', 28 defaultFilter: '*', 29 animationType: 'fadeOutTop', 30 gapHorizontal: _gaph, 31 gapVertical: _gap, 32 gridAdjustment: 'responsive', 33 mediaQueries: [{ 34 width: 1600, 35 cols: _cols 36 }, { 37 width: 1200, 38 cols: _cols 39 }, { 40 width: 800, 41 cols: _cols 42 }, { 43 width: 500, 44 cols: _cols 45 }, { 46 width: 320, 47 cols: _cols 48 }], 49 caption: 'overlayBottom', 50 displayType: 'lazyLoading', 51 displayTypeSpeed: 100, 52 53 // lightbox 54 lightboxDelegate: '.cbp-lightbox', 55 lightboxGallery: true, 56 lightboxTitleSrc: 'data-title', 57 lightboxCounter: '<div class="cbp-popup-lightbox-counter">{{current}} of {{total}}</div>', 58 }); 59 60})(jQuery, window, document);
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.