{"size": 481, "ext": "js", "max_stars_repo_path": "resources/assets/scripts/components/maps.js", "max_stars_repo_name": "react1130/wordpress-floatefest", "max_stars_repo_stars_event_min_datetime": "2019-01-28T21:31:03.000Z", "max_stars_repo_stars_event_max_datetime": "2019-01-28T21:31:03.000Z", "max_issues_repo_path": "resources/assets/scripts/components/maps.js", "max_issues_repo_name": "react1130/wordpress-floatefest", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "resources/assets/scripts/components/maps.js", "max_forks_repo_name": "react1130/wordpress-floatefest", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": 1, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 22.9047619048, "max_line_length": 58, "alphanum_fraction": 0.6715176715}
var mapImg = $('.maps__item')
var closeMap = $('.maps__overlay__close')

mapImg.on('click', function () {
  let _this = $(this)
  let large = _this.attr('data-img')
  toggleLargeMap(large)
})

closeMap.on('click', function () {
  toggleLargeMap('img')
})


function toggleLargeMap(img) {
  console.log(img) //eslint-disable-line
  $('body').toggleClass('mobile-nav-activated')
  $('.maps__overlay').toggleClass('maps__overlay--active')
  $('.maps__overlay img').attr('src', img)
}
