{"size": 261, "ext": "js", "max_stars_repo_path": "workshop/apps/21-state-pinia/src/directives/upper.directive.js", "max_stars_repo_name": "sfeir-open-source/sfeir-school-vuejs", "max_stars_repo_stars_event_min_datetime": "2020-02-05T15:52:45.000Z", "max_stars_repo_stars_event_max_datetime": "2022-01-14T15:06:05.000Z", "max_issues_repo_path": "workshop/apps/20-lazyloading-solution/src/directives/upper.directive.js", "max_issues_repo_name": "sfeir-open-source/sfeir-school-vuejs", "max_issues_repo_issues_event_min_datetime": "2020-07-24T10:10:13.000Z", "max_issues_repo_issues_event_max_datetime": "2020-11-09T15:57:54.000Z", "max_forks_repo_path": "workshop/apps/19-state-management-module-solution/src/directives/upper.directive.js", "max_forks_repo_name": "sfeir-open-source/sfeir-school-vuejs", "max_forks_repo_forks_event_min_datetime": "2019-11-20T09:31:06.000Z", "max_forks_repo_forks_event_max_datetime": "2020-12-12T14:01:07.000Z"}
{"max_stars_count": 4, "max_issues_count": 4, "max_forks_count": 6, "avg_line_length": 20.0769230769, "max_line_length": 60, "alphanum_fraction": 0.6743295019}
const onInput = element => {
  element.target.value = element.target.value.toUpperCase();
};

export default {
  bind(element) {
    element.addEventListener('input', onInput);
  },
  unbind(element) {
    element.removeEventListener('input', onInput);
  },
};
