<commit_before>import Ember from 'ember';

export default Ember.Component.extend({
  classNames: ['file-picker'],
  classNameBindings: ['multiple:multiple:single'],
  accept: '*',
  multiple: false,
  preview: true,
  dropzone: true,
  readAs: 'readAsFile',

  /**
   * When the component got inserted
   */
  didInsertElement: function() {
    this.hideInput();
    this.hidePreview();

    this.$('.file-picker__input').on(
      'change', this.filesSelected.bind(this)
    );
  },

  willDestroyElement: function() {
    this.$('.file-picker__input').off(
      'change', this.fileSelected.bind(this)<commit_msg>fix typo<commit_after>import Ember from 'ember';

export default Ember.Component.extend({
  classNames: ['file-picker'],
  classNameBindings: ['multiple:multiple:single'],
  accept: '*',
  multiple: false,
  preview: true,
  dropzone: true,
  readAs: 'readAsFile',

  /**
   * When the component got inserted
   */
  didInsertElement: function() {
    this.hideInput();
    this.hidePreview();

    this.$('.file-picker__input').on(
      'change', this.filesSelected.bind(this)
    );
  },

  willDestroyElement: function() {
    this.$('.file-picker__input').off(
      'change', this.filesSelected.bind(this)
{'fraction_non_alphanumeric': 0.1631321370309951, 'fraction_numerical': 0.0, 'mean_word_length': 3.79296875, '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': '6060967', 'n_tokens_mistral': 391, 'n_tokens_neox': 381, 'n_words': 74}