{"size": 772, "ext": "js", "max_stars_repo_path": "gvtMasonry.min.js", "max_stars_repo_name": "moritzgvt/gvtMasonry", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "gvtMasonry.min.js", "max_issues_repo_name": "moritzgvt/gvtMasonry", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "gvtMasonry.min.js", "max_forks_repo_name": "moritzgvt/gvtMasonry", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 772.0, "max_line_length": 772, "alphanum_fraction": 0.6437823834}
!function(t){function r(t,r,a){var e,s,n=0,i=0,u=(e=a,s=jQuery(t).width(),Math.floor(parseInt(s)/parseInt(e))),h=[];jQuery(r).each(function(){var r=0,e=[],s=n%a,o=s*parseInt(u);jQuery(this).attr({id:"post_"+n,"data-id":n,"data-count":s}),jQuery(this).css("width",u);var p=jQuery(this).height();jQuery(this).attr({height:p+"px"}),jQuery.each(h,function(t,r){s==t%a&&e.push(r)}),jQuery.each(e,function(a,e){r+=e;var s=parseInt(r+p);s>i&&(i=s,t.css("height",parseInt(i)))}),jQuery(this).css({position:"absolute","-webkit-transform":"translate("+o+"px,"+r+"px)","-moz-transform":"translate("+o+"px,"+r+"px)",transform:"translate("+o+"px,"+r+"px)"}),h.push(p),n++})}jQuery.fn.gvtMasonry=function(t){var a=jQuery(this),e=jQuery(this).children("div");t||(t=3),r(a,e,t)}}(jQuery);