<commit_before>class <%=className%> extends Polymer.Element {

  static get is() { return '<%= elementName %>'; }

  static get config() {
    return {
      properties: {
        prop1: {
          type:String,
          value :'TEST'
        }
      },
      observers: []
    }
  }

  /**
   * Inital Constructor for the class
   *
   * Always call super
   */
  constructor() {
    super();
  }

  /**
   * Life cycle function that gets called when the element is
   * first attached to the DOM
   */
  connectedCallback() {
    super.connectedCallback();
  }

  /**
   * A public function  that doesnt do anything
   *
   * Just demonstating how to document methods
   *
   * @param {object} takes a baz object
   * @return {null}
   */
  foo(baz) {
    return this._bar();
  }

  /**
   * A private that doesnt do anything
   *
   * Just demonstating how to document private methods
   *
   * @return {null}
   */
  _bar() {
    return true;
  }

  /**
   * ### Events<commit_msg>add all life cycle methods to 2.0 elements<commit_after>class <%=className%> extends Polymer.Element {

  static get is() { return '<%= elementName %>'; }

  static get config() {
    return {
      properties: {
        prop1: {
          type:String,
          value :'TEST'
        }
      },
      observers: []
    }
  }

  /**
   * Inital Constructor for the class
   *  ---
   * The custom elements v1 spec forbids reading attributes, children, or parent
   * information from the DOM API in the constructor
   * -- Note:
   * Always call super
   */
  constructor() {
    super();
  }

  /**
   * Life cycle function that gets called when the element is
   * first attached to the DOM
  **/
  connectedCallback() {
    super.connectedCallback();
  }

  /**
   * Life cycle function that gets called when the element is
   * first attached to the DOM
  **/
  disconnectedCallback() {
      super.connectedCallback();
  }
  /**
   * For Polymer elements, only properties explicitly declared in the
   * properties object are tracked for attribute changes.
  **/
  attributeChangedCallback() {

  }

  /**
   * A public function  that doesnt do anything
   *
   * Just demonstating how to document methods
   *
   * @param {object} takes a baz object
   * @return {null}
   */
  foo(baz) {
    return this._bar();
  }

  /**
   * A private that doesnt do anything
   *
   * Just demonstating how to document private methods
   *
   * @return {null}
   */
  _bar() {
    return true;
  }

  /**
   * ### Events
{'fraction_non_alphanumeric': 0.1156, 'fraction_numerical': 0.002, 'mean_word_length': 2.141959798994975, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, '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': '7649678', 'n_tokens_mistral': 770, 'n_tokens_neox': 735, 'n_words': 238}