1(function($, window, document, undefined) { 2 'use strict'; 3 4 // init cubeportfolio 5 $('#js-grid-awesome-work').cubeportfolio({ 6 filters: '#js-filters-awesome-work', 7 loadMore: '#js-loadMore-awesome-work', 8 loadMoreAction: 'click', 9 layoutMode: 'grid', 10 defaultFilter: '*', 11 animationType: 'scaleSides', 12 gapHorizontal: 30, 13 gapVertical: 30, 14 gridAdjustment: 'responsive', 15 mediaQueries: [{ 16 width: 1500, 17 cols: 5 18 }, { 19 width: 1100, 20 cols: 4 21 }, { 22 width: 800, 23 cols: 3 24 }, { 25 width: 480, 26 cols: 2 27 }, { 28 width: 320, 29 cols: 1 30 }], 31 caption: 'zoom', 32 displayType: 'lazyLoading', 33 displayTypeSpeed: 400, 34 35 // singlePage popup 36 singlePageDelegate: '.cbp-singlePage', 37 singlePageDeeplinking: true, 38 singlePageStickyNavigation: true, 39 singlePageCounter: '<div class="cbp-popup-singlePage-counter">{{current}} of {{total}}</div>', 40 singlePageCallback: function(url, element) { 41 // to update singlePage content use the following method: this.updateSinglePage(yourContent) 42 var t = this; 43 44 $.ajax({ 45 url: url, 46 type: 'GET', 47 dataType: 'html', 48 timeout: 10000 49 }) 50 .done(function(result) { 51 t.updateSinglePage(result); 52 }) 53 .fail(function() { 54 t.updateSinglePage('AJAX Error! Please refresh the page!'); 55 }); 56 }, 57 }); 58})(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.