<commit_before>import Component from '@ember/component';
import layout from '../templates/components/x-tree-node';

export default Component.extend({
  layout,
  classNameBindings: ['model.isSelected:tree-highlight'],

  click() {
    this.attrs.select(this.get('model'));
  },

  mouseEnter() {
    let { hover } = this.attrs;
    if (hover) {
      hover(this.get('model'));
    }
  },

  actions: {
    toggleCheck() {
      this.toggleProperty('model.isChecked');
    },

    toggleExpand() {<commit_msg>fixing hover firing when no action passed<commit_after>import Component from '@ember/component';
import layout from '../templates/components/x-tree-node';

export default Component.extend({
  layout,
  classNameBindings: ['model.isSelected:tree-highlight'],

  click() {
    this.attrs.select(this.get('model'));
  },

  mouseEnter() {
    let hover = this.get('hover');
    if (hover) {
      hover(this.get('model'));
    }
  },

  actions: {
    toggleCheck() {
      this.toggleProperty('model.isChecked');
    },

    toggleExpand() {
{'fraction_non_alphanumeric': 0.16427889207258833, 'fraction_numerical': 0.0, 'mean_word_length': 3.4219409282700424, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5371990', 'n_tokens_mistral': 326, 'n_tokens_neox': 313, 'n_words': 60}