<commit_before>import Ember from 'ember';
import layout from '../templates/components/click-to-edit';

export default Ember.Component.extend({
  layout: layout,
  classNames: ['click-to-edit'],
  classNameBindings: ['isEditing'],
  isEditing: false,
  
  click: function() {
    console.log('click! on click-to-edit');
    this.set('isEditing', true);
    Ember.run.scheduleOnce('afterRender', this, 'setFocus');
  },
  setFocus: function() {
	console.log('setting focus');
    this.$('textarea').focus();
  },
  actions: {
    blur: function() {
      console.log("focus  out! on click-to-edit");
      this.set('isEditing', false);
    }
  }
});<commit_msg>removed console.log lines<commit_after>import Ember from 'ember';
import layout from '../templates/components/click-to-edit';

export default Ember.Component.extend({
  layout: layout,
  classNames: ['click-to-edit'],
  classNameBindings: ['isEditing'],
  isEditing: false,
  
  click: function() {
    this.set('isEditing', true);
    Ember.run.scheduleOnce('afterRender', this, 'setFocus');
  },
  setFocus: function() {
	this.$('textarea').focus();
  },
  actions: {
    blur: function() {
      this.set('isEditing', false);
    }
  }
});
{'fraction_non_alphanumeric': 0.1806827643630308, 'fraction_numerical': 0.0, 'mean_word_length': 3.866396761133603, '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': '6180269', 'n_tokens_mistral': 394, 'n_tokens_neox': 392, 'n_words': 79}