<commit_before>import Ember from 'ember';
import layout from '../../templates/components/power-select/before-options';

export default Ember.Component.extend({
  tagName: '',
  layout,

  // Lifecycle hooks
  didInsertElement() {
    this._super(...arguments);
    Ember.run.schedule('afterRender', () => Ember.$('.ember-power-select-search input').focus());
  },

  // Actions
  actions: {
    handleKeydown(e) {
      if (e.keyCode === 13) {
        const { select, onkeydown } = this.getProperties('select', 'onkeydown');
        if (onkeydown) { onkeydown(select, e); }
        if (e.defaultPrevented) { return; }
        this.get('select.actions.choose')(this.get('highlighted'), e);
      } else {
        this.get('select.actions.handleKeydown')(e);
      }
    }
  }
});<commit_msg>Remove unnecesary gets<commit_after>import Ember from 'ember';
import layout from '../../templates/components/power-select/before-options';

export default Ember.Component.extend({
  tagName: '',
  layout,

  // Lifecycle hooks
  didInsertElement() {
    this._super(...arguments);
    Ember.run.schedule('afterRender', () => Ember.$('.ember-power-select-search input').focus());
  },

  // Actions
  actions: {
    handleKeydown(e) {
      const select = this.get('select');
      if (e.keyCode === 13) {
        const onkeydown = this.get('onkeydown');
        if (onkeydown) { onkeydown(select, e); }
        if (e.defaultPrevented) { return; }
        select.actions.choose(this.get('highlighted'), e);
      } else {
        select.actions.handleKeydown(e);
      }
    }
  }
});
{'fraction_non_alphanumeric': 0.17598475222363405, 'fraction_numerical': 0.0025412960609911056, 'mean_word_length': 2.917910447761194, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '7479188', 'n_tokens_mistral': 511, 'n_tokens_neox': 496, 'n_words': 87}