{"size": 755, "ext": "js", "max_stars_repo_path": "lib/index.js", "max_stars_repo_name": "pedro-isacss/jpage", "max_stars_repo_stars_event_min_datetime": "2021-05-23T23:42:51.000Z", "max_stars_repo_stars_event_max_datetime": "2021-11-15T14:53:00.000Z", "max_issues_repo_path": "lib/index.js", "max_issues_repo_name": "pedro-isacss/jpage", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "lib/index.js", "max_forks_repo_name": "pedro-isacss/jpage", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": 3, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 39.7368421053, "max_line_length": 80, "alphanum_fraction": 0.7390728477}
import { createScroll, navScroll } from "./scripts/scroller.js";
import { createSlider } from "./scripts/slider.js";

if (jpageConfig.pageType === "jpage-default") {
  // Scroller
  document.body.style.overflow = "hidden";
  const fullPageScroller = document.querySelector(".jpage");
  const fullPageScrollerSections = document.querySelectorAll(".jpage .section");
  createScroll(fullPageScrollerSections);
  fullPageScroller.appendChild(navScroll);
  // Slider
  const sliders = document.querySelectorAll(".jpage .section .slider");
  createSlider(sliders, "jpage-default");
} else if (jpageConfig.pageType === "jpage-one-slider") {
  // jpage-one-slider
  const sliders = document.querySelectorAll(".jpage .section .slider");
  createSlider(sliders);
}
