{"size": 526, "ext": "js", "max_stars_repo_path": "assets/js/utilities.js", "max_stars_repo_name": "22940dev/portfolio-kittygiraudel", "max_stars_repo_stars_event_min_datetime": "2017-06-10T02:12:07.000Z", "max_stars_repo_stars_event_max_datetime": "2021-02-25T08:41:27.000Z", "max_issues_repo_path": "assets/js/utilities.js", "max_issues_repo_name": "22940dev/portfolio-kittygiraudel", "max_issues_repo_issues_event_min_datetime": "2021-07-19T13:09:43.000Z", "max_issues_repo_issues_event_max_datetime": "2022-03-28T13:10:49.000Z", "max_forks_repo_path": "assets/js/utilities.js", "max_forks_repo_name": "fu4303/portfolio-kittygiraudel", "max_forks_repo_forks_event_min_datetime": "2017-07-10T11:22:35.000Z", "max_forks_repo_forks_event_max_datetime": "2020-12-29T17:14:12.000Z"}
{"max_stars_count": 27, "max_issues_count": 19, "max_forks_count": 13, "avg_line_length": 21.9166666667, "max_line_length": 64, "alphanum_fraction": 0.716730038}
'use strict'

function loadJS (src, onload) {
  const firstScript = document.getElementsByTagName('script')[0]
  const script = document.createElement('script')

  script.src = src
  script.async = true

  firstScript.parentNode.insertBefore(script, firstScript)

  if (typeof onload === 'function') {
    script.onload = onload
  }

  return script
}

function $(selector, context) {
  var nodes = (context || document).querySelectorAll(selector)
  if (!nodes.length) return null
  return Array.prototype.slice.call(nodes)
}
