<commit_before><template>
    <v-menu
      v-model="showMenu"
      :position-x="x"
      :position-y="y"
      absolute
      offset-y
      z-index="205"
    >
      <v-list id="cm">
        <v-list-tile
          v-for="(item, index) in items"
          :key="index"
          @click="item.onClick"
        >
          <v-list-tile-title>{{ item.title }}</v-list-tile-title>
        </v-list-tile>
      </v-list>
    </v-menu>
</template>

<script>
import Vue from 'vue';

export default {
  data() {
    return {
      showMenu: true,
      x: 10,
      y: 10,
      items: [],
    }
  },
  created() {
    Vue.prototype.$menu = this.show;
  },
  methods: {
    show(items, x, y) {
      console.log('show');
      this.x = x;
      this.y = y;
      this.items = items;
      this.showMenu = true;
    },
    hide() {
      this.showMenu = false;
    },
  },
}
</script>

<style>
</style><commit_msg>fix(linting): fix the wrong indent<commit_after><template>
  <v-menu
    v-model="showMenu"
    :position-x="x"
    :position-y="y"
    absolute
    offset-y
    z-index="205"
  >
    <v-list id="cm">
      <v-list-tile
        v-for="(item, index) in items"
        :key="index"
        @click="item.onClick"
      >
        <v-list-tile-title>{{ item.title }}</v-list-tile-title>
      </v-list-tile>
    </v-list>
  </v-menu>
</template>

<script>
import Vue from 'vue';

export default {
  data() {
    return {
      showMenu: true,
      x: 10,
      y: 10,
      items: [],
    };
  },
  created() {
    Vue.prototype.$menu = this.show;
  },
  methods: {
    show(items, x, y) {
      console.log('show');
      this.x = x;
      this.y = y;
      this.items = items;
      this.showMenu = true;
    },
    hide() {
      this.showMenu = false;
    },
  },
};
</script>

<style>
</style>
{'fraction_non_alphanumeric': 0.18600777345918934, 'fraction_numerical': 0.007773459189339256, 'mean_word_length': 1.7016491754122938, 'pattern_counts': {'":': 0, '<': 31, '<?xml version=': 0, '>': 31, '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': '4887495', 'n_tokens_mistral': 698, 'n_tokens_neox': 683, 'n_words': 127}