<commit_before>import { strToEl } from '../utils';

export default class Ripple {
  constructor() {
    this.container = strToEl('<div class="ripple"></div>');
  }

  animate() {
    this.container.classList.remove('animate');
    this.container.offsetLeft;
    this.container.classList.add('animate');
  }<commit_msg>ripple: switch to a span (#325)<commit_after>import { strToEl } from '../utils';

export default class Ripple {
  constructor() {
    this.container = strToEl('<span class="ripple"></span>');
  }

  animate() {
    this.container.classList.remove('animate');
    this.container.offsetLeft;
    this.container.classList.add('animate');
  }
{'fraction_non_alphanumeric': 0.17073170731707318, 'fraction_numerical': 0.004573170731707317, 'mean_word_length': 4.053846153846154, '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': '2193984', 'n_tokens_mistral': 214, 'n_tokens_neox': 199, 'n_words': 37}