<commit_before>
<div class="scoreContainer">
  <h3> Score Keeper </h3>

  <div class="btn-group gameButtons">
    <a ng-click="resetScores()" class="btn btn-danger">Reset Scores</a>
    <a ng-click="addPlayer()" class="btn btn-info">Add Player </a>

  </div> <br>
  <div class="row">
    <div ng-repeat="player in players track by $index" class="scoreCol col-xs-{{12/players.length | floor}}">

      <div class="player-name">
        <span ng-hide="player.editing" ng-click="player.editing=true;"> {{player.name}} </span>
        <input ng-show="player.editing" ng-model="player.name" ng-blur="player.editing=false;" autofocus id="player-name" class="form-control login-field"/>
        <label ng-show="player.editing" class="login-field-icon fui-cross player-remove-icon" ng-click="removePlayer($index)" for="player-name" title="Remove Player"></label>
      </div>

      <span ng-repeat="score in player.scores track by $index" class="scoreBox"> 
        <span class = "additive{{ score == 0? '' : score > 0? ' positiveScore' : ' negativeScore' }}" >
          {{ score | absolute }} 
        </span>
         <span class = "cumulative">
           {{ cumulativeScore(player.scores, $index) }}
         </span>
      </span> 

    <form novalidate class="input-group">
      <span class="input-group-btn">
          <button ng-click="player.newScore && addScore(player);" class="btn btn-default"> <span class="fui-check"></span> </button>
      </span>
      <input type="number" ng-model="player.newScore" class="form-control newScore"/>
    </form>
    </div>
  </div>
</div><commit_msg>Changed remove player button to ng-mousdown directive, to beat the ng-blur directive on the player name input<commit_after>
<div class="scoreContainer">
  <h3> Score Keeper </h3>

  <div class="btn-group gameButtons">
    <a ng-click="resetScores()" class="btn btn-danger">Reset Scores</a>
    <a ng-click="addPlayer()" class="btn btn-info">Add Player </a>

  </div> <br>
  <div class="row">
    <div ng-repeat="player in players track by $index" class="scoreCol col-xs-{{12/players.length | floor}}">

      <div class="player-name">
        <span ng-hide="player.editing" ng-click="player.editing=true;"> {{player.name}} </span>
        <input ng-show="player.editing" ng-model="player.name" ng-blur="player.editing=false;" autofocus id="player-name" class="form-control login-field"/>
        <label ng-show="player.editing" class="login-field-icon fui-cross player-remove-icon" ng-mousedown="player.editing=true;removePlayer($index)" for="player-name" title="Remove Player"></label>
      </div>

      <span ng-repeat="score in player.scores track by $index" class="scoreBox"> 
        <span class = "additive{{ score == 0? '' : score > 0? ' positiveScore' : ' negativeScore' }}" >
          {{ score | absolute }} 
        </span>
         <span class = "cumulative">
           {{ cumulativeScore(player.scores, $index) }}
         </span>
      </span> 

    <form novalidate class="input-group">
      <span class="input-group-btn">
          <button ng-click="player.newScore && addScore(player);" class="btn btn-default"> <span class="fui-check"></span> </button>
      </span>
      <input type="number" ng-model="player.newScore" class="form-control newScore"/>
    </form>
    </div>
  </div>
</div>
{'fraction_non_alphanumeric': 0.18451300665456746, 'fraction_numerical': 0.003629764065335753, 'mean_word_length': 3.3976063829787235, 'pattern_counts': {'":': 0, '<': 77, '<?xml version=': 0, '>': 79, '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': '7201142', 'n_tokens_mistral': 1092, 'n_tokens_neox': 1039, 'n_words': 235}