<commit_before>%strong Files:
#files

:javascript
  (function() {
    jQuery(function() {
      return window.uploader = new AnacondaUploader({
        limits: {
          audio: 1,
          video: 1,
          resource: 1,
          image: 1
        },
        element_id: "#{option[:element_id]}"
        allowed_types: ["image"],
        upload_details_container: "files",
        upload_button_id: "upload",
        upload_complete_post_url: "#{options[:form_options][:post_url]}",
        upload_complete_form_to_fill: "#{options[:form_options][:form_el]}",
        upload_automatically: "#{options[:form_options][:auto_upload]}",
        resource: "#{resource.class.to_s.underscore}",
        attribute: "#{options[:as]}"
      });
    });

  }).call(this);<commit_msg>Default to allow any file types.<commit_after>%strong Files:
#files

:javascript
  (function() {
    jQuery(function() {
      return window.uploader = new AnacondaUploader({
        limits: {
          audio: 1,
          video: 1,
          resource: 1,
          image: 1
        },
        element_id: "#{option[:element_id]}"
        allowed_types: [],
        upload_details_container: "files",
        upload_button_id: "upload",
        upload_complete_post_url: "#{options[:form_options][:post_url]}",
        upload_complete_form_to_fill: "#{options[:form_options][:form_el]}",
        upload_automatically: "#{options[:form_options][:auto_upload]}",
        resource: "#{resource.class.to_s.underscore}",
        attribute: "#{options[:as]}"
      });
    });

  }).call(this);
{'fraction_non_alphanumeric': 0.15664961636828645, 'fraction_numerical': 0.005115089514066497, 'mean_word_length': 2.7893462469733654, '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': '4661580', 'n_tokens_mistral': 486, 'n_tokens_neox': 475, 'n_words': 79}