1;(function($) {//Protect it from other jQuery instances 2 3 $(window).ready(function(){ 4 5 $('.media-boxes-grid').each(function(){ 6 7 var settings = $.parseJSON($(this).attr('data-settings')); 8 9 settings['getSortData'] = { 10 date : function (elem) { return Date.parse( $(elem).find('.media-box-sort-date').text() ); }, 11 author : '.media-box-sort-author', 12 ID : function (elem) { return parseFloat( $(elem).find('.media-box-sort-id').text() ); }, 13 title : '.media-box-sort-title', 14 name : '.media-box-sort-name', 15 modified : function (elem) { return Date.parse( $(elem).find('.media-box-sort-modified').text() ); }, 16 comment_count : function (elem) { return parseFloat( $(elem).find('.media-box-sort-comment_count').text() ); }, 17 }; 18 19 settings['lazyLoadInLoadMoreView'] = true; 20 21 $(this).mediaBoxes(settings); 22 }); 23 24 }); 25 26})(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.