{"size": 1049, "ext": "js", "max_stars_repo_path": "drupal/themes/basic/js/source/scripts.js", "max_stars_repo_name": "saiyuuki822/saiyuukisyokudo", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "drupal/themes/basic/js/source/scripts.js", "max_issues_repo_name": "saiyuuki822/saiyuukisyokudo", "max_issues_repo_issues_event_min_datetime": "2020-04-05T10:13:31.000Z", "max_issues_repo_issues_event_max_datetime": "2021-09-01T03:01:48.000Z", "max_forks_repo_path": "drupal/themes/basic/js/source/scripts.js", "max_forks_repo_name": "saiyuuki822/Web", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": 2, "max_forks_count": null, "avg_line_length": 27.6052631579, "max_line_length": 78, "alphanum_fraction": 0.6348903718}
/**
 * @file
 * A JavaScript file for the theme.
 *
 * In order for this JavaScript to be loaded on pages, see the instructions in
 * the README.txt next to this file.
 */

// JavaScript should be made compatible with libraries other than jQuery by
// wrapping it with an "anonymous closure". See:
// - https://drupal.org/node/1446420
// - http://www.adequatelygood.com/2010/3/JavaScript-Module-Pattern-In-Depth
(function (Drupal, $) {
  'use strict';

  // To understand behaviors, see https://www.drupal.org/node/2269515
  Drupal.behaviors.basic = {
    attach: function (context, settings) {

      // Execute code once the DOM is ready. $(handler) not required
      // within Drupal.behaviors.
      $(window).on('load', function () {
        // Execute code once the window is fully loaded.
      });

      $(window).on('resize', function () {
        // Execute code when the window is resized.
      });

      $(window).on('scroll', function () {
        // Execute code when the window scrolls.
      });

    }
  };

})(Drupal, jQuery);
