{"size": 581, "ext": "js", "max_stars_repo_path": "js/nav.js", "max_stars_repo_name": "sreeroop/Video-background-website", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "js/nav.js", "max_issues_repo_name": "sreeroop/Video-background-website", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "js/nav.js", "max_forks_repo_name": "sreeroop/Video-background-website", "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": 15.2894736842, "max_line_length": 51, "alphanum_fraction": 0.5490533563}
var t1 = new TimelineMax({ paused: true });

t1.to(".one", 0.3, {
  y: 6,
  rotation: 45,
  ease: Expo.easeInOut
});
t1.to(".two", 0.3, {
  y: -6,
  rotation: -45,
  ease: Expo.easeInOut,
  delay: -0.3
});

t1.to(".menu", 0.8, {
  top: "0%",
  ease: Expo.easeInOut,
  delay: -0.6
});

t1.staggerFrom(
  ".menu ul li",
  0.5,
  { x: -200, opacity: 0, ease: Expo.easeOut },
  0.1
);

t1.reverse();

$(document).on("click","a", function() {
  t1.reversed(!t1.reversed());
  console.log("ft")
});


$(document).on("click", ".toggle-btn", function() {
  t1.reversed(!t1.reversed());
});