<commit_before>$(document).ready(function() {
  $(".modal").on('shown.bs.modal', function() {
    $(this).find("[autofocus]:first").focus();
  });
});

var PT = PT || {};

/// Input type defaults
PT.defaultControls = {
  inputText: {
    label: "Text",
    input_type: "string"
  },

  inputNumber: {
    label: "Number",
    input_type: "decimal"
  },

  inputDate: {
    label: "Date",
    input_type: "date"
  },

  inputLocation: {
    label: "Location",
    input_type: "geopoint"<commit_msg>Select all input text on click<commit_after>$(document).ready(function() {
  $(".modal").on('shown.bs.modal', function() {
    $(this).find("[autofocus]:first").focus();
  });

  $(document).on("focus", "input", function(){
    $(this).on("mouseup.a keyup.a", function(e){      
      $(this).off("mouseup.a keyup.a").select();
    });
  });
});

var PT = PT || {};

/// Input type defaults
PT.defaultControls = {
  inputText: {
    label: "Text",
    input_type: "string"
  },

  inputNumber: {
    label: "Number",
    input_type: "decimal"
  },

  inputDate: {
    label: "Date",
    input_type: "date"
  },

  inputLocation: {
    label: "Location",
    input_type: "geopoint"
{'fraction_non_alphanumeric': 0.21325403568394222, 'fraction_numerical': 0.0, 'mean_word_length': 3.1625441696113072, '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': '6801017', 'n_tokens_mistral': 422, 'n_tokens_neox': 414, 'n_words': 74}