{"size": 1191, "ext": "js", "max_stars_repo_path": "tools/lscrtoscript/js/list14-2.js", "max_stars_repo_name": "Brian151/OpenShockwave", "max_stars_repo_stars_event_min_datetime": "2017-02-21T05:35:49.000Z", "max_stars_repo_stars_event_max_datetime": "2022-03-24T19:49:13.000Z", "max_issues_repo_path": "tools/lscrtoscript/js/list14-2.js", "max_issues_repo_name": "Brian151/OpenShockwave", "max_issues_repo_issues_event_min_datetime": "2017-02-23T08:59:51.000Z", "max_issues_repo_issues_event_max_datetime": "2019-05-10T03:02:42.000Z", "max_forks_repo_path": "tools/lscrtoscript/js/list14-2.js", "max_forks_repo_name": "Brian151/OpenShockwave", "max_forks_repo_forks_event_min_datetime": "2017-05-17T20:21:50.000Z", "max_forks_repo_forks_event_max_datetime": "2021-12-14T19:01:41.000Z"}
{"max_stars_count": 49, "max_issues_count": 17, "max_forks_count": 11, "avg_line_length": 28.3571428571, "max_line_length": 56, "alphanum_fraction": 0.6498740554}
function Toggle(j) {
   !loggingEnabled||console.log("Toggling " + j);
   obj=document.getElementsByClassName("xresource")[j];
   visible=(obj.offsetParent!=null)
   key=document.getElementsByClassName("resource")[j];
   if (visible) {
     obj.style.display="none";
     key.innerHTML="[+]";
   } else {
      obj.style.display="block";
      key.innerHTML="[-]";
   }
}
function Expand() {
   !loggingEnabled||console.log("Expanding All");
   divs=document.getElementsByClassName("xresource");
   for (i=0;i<divs.length;i++) {
     divs[i].style.display="block";
     key=document.getElementsByClassName("resource")[i];
     key.innerHTML="[-]";
   }
}
function Collapse() {
   !loggingEnabled||console.log("Collapsing All");
   divs=document.getElementsByClassName("xresource");
   for (i=0;i<divs.length;i++) {
     divs[i].style.display="none";
     key=document.getElementsByClassName("resource")[i];
     key.innerHTML="[+]";
   }
}

var divs=document.getElementsByClassName("resource");
for(var i=0,len=divs.length;i<len;i++) {
	divs[i].onclick = function(j) {
		!loggingEnabled||console.log("Clicked resource " + j);
		return function() {
			Toggle(j);
			return false;
		}
	}(i);
}