{"size": 503, "ext": "js", "max_stars_repo_path": "app/assets/javascripts/hackathon_manager/registrations.js", "max_stars_repo_name": "IlinDmitry/hackathon_manager", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "app/assets/javascripts/hackathon_manager/registrations.js", "max_issues_repo_name": "IlinDmitry/hackathon_manager", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "app/assets/javascripts/hackathon_manager/registrations.js", "max_forks_repo_name": "IlinDmitry/hackathon_manager", "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": 20.12, "max_line_length": 43, "alphanum_fraction": 0.4791252485}
$(document).ready(function() {
  $('[data-school-picker]').autocomplete({
    source: function( request, response ) {
      $.ajax({
        url: '/apply/schools',
        dataType: 'json',
        data: {
          name: request.term
        },
        success: function( data ) {
          response( data );
        }
      });
    },
    // hides helper messages
    messages: {
      noResults: '',
      results: function() {}
    },
    minLength: 3,
    delay: 100,
    autoFocus: true
  });
});
