<commit_before>import Ember from 'ember';

const {
  Component
} = Ember;

/**
 * @module
 * @augments ember/Component
 */
export default Component.extend({

  // -------------------------------------------------------------------------
  // Dependencies

  // -------------------------------------------------------------------------
  // Attributes

  /** @type {String[]} */
  attributeBindings: [
    'href'
  ],

  /** @type {String[]} */
  classNameBindings: [
    'active:ef-active',
    'disabled:ef-disabled'
  ],

  /** @type {String[]} */
  classNames: [
    'ef-nav-list-link'
  ],

  /** @type {String} */
  tagName: 'a',

  // -------------------------------------------------------------------------
  // Actions

  // -------------------------------------------------------------------------
  // Events

  /**
   * Click event handler
   *
   * Execute bound action
   *
   * @function
   * @param {Event} event - The raw click event
   * @returns {undefined}
   */
  click() {
    this.get( 'onClick' )();
  },

  // -------------------------------------------------------------------------
  // Properties

  /**
   * Whether represents an active link
   *
   * @type {Boolean}
   */
  active: false,

  /**
   * Whether represents a disabled link
   *
   * @type {Boolean}
   */
  disabled: false,
<commit_msg>Return false on click event<commit_after>import Ember from 'ember';

const {
  Component
} = Ember;

/**
 * @module
 * @augments ember/Component
 */
export default Component.extend({

  // -------------------------------------------------------------------------
  // Dependencies

  // -------------------------------------------------------------------------
  // Attributes

  /** @type {String[]} */
  attributeBindings: [
    'href'
  ],

  /** @type {String[]} */
  classNameBindings: [
    'active:ef-active',
    'disabled:ef-disabled'
  ],

  /** @type {String[]} */
  classNames: [
    'ef-nav-list-link'
  ],

  /** @type {String} */
  tagName: 'a',

  // -------------------------------------------------------------------------
  // Actions

  // -------------------------------------------------------------------------
  // Events

  /**
   * Click event handler
   *
   * Execute bound action
   *
   * @function
   * @param {Event} event - The raw click event
   * @returns {Boolean} false
   */
  click() {
    this.get( 'onClick' )();

    return false;
  },

  // -------------------------------------------------------------------------
  // Properties

  /**
   * Whether represents an active link
   *
   * @type {Boolean}
   */
  active: false,

  /**
   * Whether represents a disabled link
   *
   * @type {Boolean}
   */
  disabled: false,

{'fraction_non_alphanumeric': 0.3985910270671116, 'fraction_numerical': 0.0, 'mean_word_length': 0.9536567704561911, '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': '5437231', 'n_tokens_mistral': 720, 'n_tokens_neox': 692, 'n_words': 151}