<commit_before>import JqmTextInput from './jqm-textinput';
import layout from '../templates/components/jqm-fileinput';

export default JqmTextInput.extend({
  layout: layout,
  attributeBindings: ['accept'],
  type: 'file',
  onFile: null, // Callback action. onFile(evt)
  change(evt) {
    if (this.get('onFile')) {
      this.sendAction('onFile', evt);
    }
  }
});<commit_msg>jqm-fileinput no longer uses actions, instead use files variable Array<File><commit_after>import JqmTextInput from './jqm-textinput';
import layout from '../templates/components/jqm-fileinput';

export default JqmTextInput.extend({
  layout: layout,
  attributeBindings: ['accept'],
  type: 'file',
  change(evt) {
    /**
     * @Deprecated
     */
    if (this.get('onFile')) {
      this.sendAction('onFile', evt);
    }
    this.set('files', evt.target.files);
  },
  didInsertElement() {
    if (this.get('onFile')) {
      console.warn("DEPRECATED: you should no longer use jqm-fileinput <action on='change'> use files instead. -- will be removed in 1.1");
    }
  }
});
{'fraction_non_alphanumeric': 0.1608325449385052, 'fraction_numerical': 0.001892147587511826, 'mean_word_length': 3.66079295154185, 'pattern_counts': {'":': 0, '<': 5, '<?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': '2993511', 'n_tokens_mistral': 352, 'n_tokens_neox': 350, 'n_words': 81}