<commit_before><template>
  <pre :id="id" :class="classes"></pre>
</template>

<style lang="scss" rel="stylesheet/scss">
  .ace_text-input {
    position: relative;
  }
  .ace-tomorrow.ace_editor.readonly {
    background-color: #d6d6d6;
    .ace_gutter, .ace_active-line {
      background-color: #d6d6d6;
    }
    .ace_selection {
      background: #a7c4de;
    }
  }
</style>

<script>
  import Vue from 'vue'

  export default {
    name: 'JsonEditor',
    props: [
      'content',
      'myclass',
      'readonly',
      'id'
    ],
    computed: {
      classes () {
        return ((this.readonly ? 'readonly' : '') + this.myclass)
      }
    },
    data () {
      return {
        editor: {}
      }<commit_msg>fix class in json editor<commit_after><template>
  <pre :id="id" :class="classes"></pre>
</template>

<style lang="scss" rel="stylesheet/scss">
  .ace_text-input {
    position: relative;
  }
  .ace-tomorrow.ace_editor.readonly {
    background-color: #d6d6d6;
    .ace_gutter, .ace_active-line {
      background-color: #d6d6d6;
    }
    .ace_selection {
      background: #a7c4de;
    }
  }
</style>

<script>
  import Vue from 'vue'

  export default {
    name: 'JsonEditor',
    props: [
      'content',
      'myclass',
      'readonly',
      'id'
    ],
    computed: {
      classes () {
        return ((this.readonly ? 'readonly ' : '') + this.myclass)
      }
    },
    data () {
      return {
        editor: {}
      }
{'fraction_non_alphanumeric': 0.16164383561643836, 'fraction_numerical': 0.010958904109589041, 'mean_word_length': 2.1623376623376624, 'pattern_counts': {'":': 0, '<': 17, '<?xml version=': 0, '>': 17, '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': '5612265', 'n_tokens_mistral': 535, 'n_tokens_neox': 527, 'n_words': 94}