{"size": 403, "ext": "js", "max_stars_repo_path": "modules/tilepieces/panel/src/moves/moveS.js", "max_stars_repo_name": "tilepieces/tilepieces", "max_stars_repo_stars_event_min_datetime": "2022-03-30T11:26:05.000Z", "max_stars_repo_stars_event_max_datetime": "2022-03-30T14:37:12.000Z", "max_issues_repo_path": "modules/tilepieces/panel/src/moves/moveS.js", "max_issues_repo_name": "tilepieces/tilepieces", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "modules/tilepieces/panel/src/moves/moveS.js", "max_forks_repo_name": "tilepieces/tilepieces", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": 2, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 28.7857142857, "max_line_length": 58, "alphanum_fraction": 0.6501240695}
function moveS(e, $self) {
  if (e.y >= window.innerHeight) {
    document.dispatchEvent(new MouseEvent("mouseup"));
    document.dispatchEvent(new TouchEvent("touchcancel"));
    return;
  }
  var movePosition = e.y - $self.y;
  $self.y = e.y;
  var height = $self.height + movePosition;
  if (height < 30)
    return;
  $self.height = height;
  $self.panelElement.style.height = $self.height + "px";
}