<commit_before>define(['phaser'
        , 'platform'
        ], function(phaser
                    , Platform) {
  var Bee = function(state) {
    Phaser.Sprite.call(this, state.game, 0, 0, 'bee_white');
    this.alive = false;
    this.visible = false;
    this.state = state;
    this.events.onKilled.add(this.killed, this);
  }
  Bee.prototype = Object.create(Phaser.Sprite.prototype);
  Bee.constructor = Bee;

  Bee.prototype.killed = function() {
    var platform = new Platform(this.state, this.x, this.y);
    platform.scale = new Phaser.Point(0.5, 0.5);
    platform.activate(this.state.screen);
  };
  return Bee;
})<commit_msg>Bees dont make platforms if destroyed out of bounds<commit_after>define(['phaser'
        , 'platform'
        ], function(phaser
                    , Platform) {
  var Bee = function(state) {
    Phaser.Sprite.call(this, state.game, 0, 0, 'bee_white');
    this.alive = false;
    this.visible = false;
    this.state = state;
    this.events.onKilled.add(this.killed, this);
  }
  Bee.prototype = Object.create(Phaser.Sprite.prototype);
  Bee.constructor = Bee;

  Bee.prototype.killed = function() {
    if (this.inWorld) {
      var platform = new Platform(this.state, this.x, this.y);
      platform.scale = new Phaser.Point(0.5, 0.5);
      platform.activate(this.state.screen);
    }
  };
  return Bee;
})
{'fraction_non_alphanumeric': 0.14571005917159763, 'fraction_numerical': 0.008875739644970414, 'mean_word_length': 2.7583333333333333, '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': '6358564', 'n_tokens_mistral': 469, 'n_tokens_neox': 456, 'n_words': 88}