1(function() { 2 (function() { 3 var $, debounce, linkSet; 4 $ = this.jQuery; 5 debounce = function(func, wait) { 6 var timeout; 7 timeout = void 0; 8 return function() { 9 var args, context; 10 context = this; 11 args = arguments; 12 clearTimeout(timeout); 13 return timeout = setTimeout((function() { 14 timeout = null; 15 func.apply(context, args); 16 }), wait); 17 }; 18 }; 19 linkSet = this.linkSet = { 20 layoutMasonrySets: function() { 21 var $sets; 22 $sets = $(".format-link-set-items.masonry"); 23 if (!$sets.length) { 24 return; 25 } 26 return $sets.each(function() { 27 var $set, uuid; 28 $set = $(this); 29 uuid = Math.random().toString(36).slice(2); 30 $set.attr('data-masonry-id', uuid); 31 return imagesLoaded(document.querySelector("[data-masonry-id='" + uuid + "']"), (function(_this) { 32 return function(inst) { 33 return waterfall($set[0]); 34 }; 35 })(this)); 36 }); 37 } 38 }; 39 return $(function() { 40 linkSet.layoutMasonrySets(); 41 return window.addEventListener('resize', debounce(function() { 42 if ($('.format-link-set-items.masonry').length) { 43 return waterfall('.format-link-set-items.masonry'); 44 } 45 }, 500)); 46 }); 47 }).call(_4ORMAT); 48 49}).call(this);
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.