{"size": 319, "ext": "js", "max_stars_repo_path": "src/app/views/validation/results/validationMessages.component.js", "max_stars_repo_name": "biocodellc/biscicol-ui", "max_stars_repo_stars_event_min_datetime": "2020-06-09T20:42:21.000Z", "max_stars_repo_stars_event_max_datetime": "2020-06-27T18:36:56.000Z", "max_issues_repo_path": "src/app/views/validation/results/validationMessages.component.js", "max_issues_repo_name": "biocodellc/biscicol-ui", "max_issues_repo_issues_event_min_datetime": "2018-02-20T01:02:12.000Z", "max_issues_repo_issues_event_max_datetime": "2022-03-23T16:20:23.000Z", "max_forks_repo_path": "src/app/views/validation/results/validationMessages.component.js", "max_forks_repo_name": "mariadeck/geome-ui", "max_forks_repo_forks_event_min_datetime": "2018-02-19T23:02:17.000Z", "max_forks_repo_forks_event_max_datetime": "2018-06-11T16:18:11.000Z"}
{"max_stars_count": 2, "max_issues_count": 520, "max_forks_count": 4, "avg_line_length": 19.9375, "max_line_length": 50, "alphanum_fraction": 0.6238244514}
class ResultMessagesController {
  $onInit() {
    this.type = this.error ? 'Error' : 'Warning';
    this.class = this.error ? 'Error' : 'Warning';
  }
}

export default {
  template: require('./validationMessages.html'),
  controller: ResultMessagesController,
  bindings: {
    error: '<',
    messages: '<',
  },
};
