<commit_before><script>
  export default {
    render: function (c) {
      var buttonEl, self = this;
      buttonEl = c('button', {
        class: {
          'btn': true,
          'btn-primary': true
        },
        on: {
          click: self.onClick
        }
      }, [self.$slots.default]);

      return buttonEl;
    },
    methods: {
      onClick (event) {<commit_msg>fix button.vue<commit_after><script>
  export default {
    render: function (c) {
      var buttonEl, tagEl, self = this;
      
      buttonEl = c('button', {
        staticClass: 'btn',
        class: self.classObject,
        on: {
          click: self.onClick
        }
      }, [self.$slots.default]);

      if (self.tag) {
        tagEl = c(self.tag, { class: this.tagClass ? this.tagClass : '' }, [buttonEl]);
        return tagEl;
      }
      return buttonEl;
    },
    props: {
      tag: String,
      tagClass: String,
      primary: Boolean,
      success: Boolean,
      info: Boolean,
      danger: Boolean,
      warning: Boolean
    },
    computed: {
      classObject () {
        var self = this, co = {};
        ['primary', 'success', 'info', 'danger', 'warning'].forEach(function (prop, index) {
          if (self[prop]) co['btn-' + prop] = true;
        });
        return co;
      }
    },
    methods: {
      onClick (event) {
{'fraction_non_alphanumeric': 0.14594192107222637, 'fraction_numerical': 0.0, 'mean_word_length': 1.6933867735470942, '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': '3808996', 'n_tokens_mistral': 414, 'n_tokens_neox': 412, 'n_words': 98}