<commit_before>define(function (require) {
  var text = new Kinetic.Text({
    id: 'click-here-to-start',
    text: 'click here to start',
    fontSize: 90,
    fontFamily: 'Sans-Serif',
    shadowOffset: [1, 1],
    shadowColor: '#ff0',
    shadowBlur: 5,
    shadowOpacity: 1,
    fill: '#fff',
    stroke: '#ff0',
    strokeWidth: 3
  });

  function mousein() { text.setFill('#f00'); }
  function mouseout() { text.setFill('#fff'); }

  function create(scene, callback) {
    text.setY(355);
    text.setX(scene.width / 2 - text.getWidth() / 2);
    text.on('mouseover', mousein);
    text.on('mouseout', mouseout);
    text.on('click', callback);
    return text;
  }

  return create;
});
<commit_msg>added comment about how horrible on(click) is for Kinetic<commit_after>define(function (require) {
  var text = new Kinetic.Text({
    id: 'click-here-to-start',
    text: 'click here to start',
    fontSize: 90,
    fontFamily: 'Sans-Serif',
    shadowOffset: [1, 1],
    shadowColor: '#ff0',
    shadowBlur: 5,
    shadowOpacity: 1,
    fill: '#fff',
    stroke: '#ff0',
    strokeWidth: 3
  });

  function mousein() { text.setFill('#f00'); }
  function mouseout() { text.setFill('#fff'); }

  function create(scene, callback) {
    text.setY(355);
    text.setX(scene.width / 2 - text.getWidth() / 2);
    text.on('mouseover', mousein);
    text.on('mouseout', mouseout);
    text.on('click', callback); // this is horrible and most likely should not be used
    return text;
  }

  return create;
});

{'fraction_non_alphanumeric': 0.16787838730998017, 'fraction_numerical': 0.021150033046926635, 'mean_word_length': 3.159340659340659, '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': '362346', 'n_tokens_mistral': 551, 'n_tokens_neox': 519, 'n_words': 130}