{"size": 743, "ext": "js", "max_stars_repo_path": "app/scripts/main.js", "max_stars_repo_name": "jeremyef/personal-size", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "app/scripts/main.js", "max_issues_repo_name": "jeremyef/personal-size", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "app/scripts/main.js", "max_forks_repo_name": "jeremyef/personal-size", "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": 22.5151515152, "max_line_length": 56, "alphanum_fraction": 0.5760430686}
$( document ).ready(function() {
    console.log( "Created By: Jeremy Ferrer" );

    // Updates footer year incase someone forgets
    updateYear();

    // Toggle handler for slider
    $('.toggle').click(function(e) {
      var toggle = this;

      e.preventDefault();

      $(this).toggleClass('toggle--on')
        .toggleClass('toggle--off')
        .addClass('toggle--moving');

      setTimeout(function() {
        $(toggle).removeClass('toggle--moving');
      }, 200)

      $('.flip-container').toggleClass("flip");
      $('body').toggleClass('game')
      $('html, body').animate({ scrollTop: 20}, 'slow');
    });



});
function updateYear(){
  var currYear = new Date().getFullYear();
  $('.footer .year').text(currYear);
}
