<commit_before><!DOCTYPE html>

<html lang="en" ng-app="githubgame">

<head>
	<meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1">
	<title>GitHub Game</title>
  <link rel="shortcut icon" href="favicon.ico" type="image/x-icon" />
	<link rel="stylesheet" type="text/css" href="//maxcdn.bootstrapcdn.com/bootswatch/3.3.2/lumen/bootstrap.min.css">
  <!-- build:css style.min.css -->
	<link rel="stylesheet" type="text/css" href="css/main.css">
  <!-- /build -->
  <!-- build:remove:dev -->
  <script src="external/angular.min.js"></script>
  <script src="external/angular-route.min.js"></script>
  <script src="external/angular-resource.min.js"></script>
  <script src="external/angular-cookies.min.js"></script>
  <script src="external/angular-sanitize.min.js"></script>
  <script src="external/ui-bootstrap-tpls.min.js"></script>
  <!-- /build -->
  <!-- build:remove:dist -->
  <script src="external/angular.js"></script>
  <script src="external/angular-route.js"></script>
  <script src="external/angular-resource.js"></script>
  <script src="external/angular-cookies.js"></script>
  <script src="external/angular-sanitize.js"></script>
  <script src="external/ui-bootstrap-tpls.js"></script>
  <!-- /build -->
  <!-- build:js app.min.js -->
  <script type="text/javascript" src="js/app.js"></script>
  <script type="text/javascript" src="js/routing.js"></script>
  <script type="text/javascript" src="js/start-controller.js"></script>
  <!-- /build -->
</head>

<body>

<!-- NAVBAR -->
<nav class="navbar navbar-default" role="navigation">
  <div class="container-fluid">
    <div class="navbar-header">
      <a class="navbar-brand" href="/">
        <span class="glyphicon glyphicon-home"></span>
        GitHub Game
      </a>
    </div>
    <div class="collapse navbar-collapse navbar-right" ng-controller="TokenController">
      <button type="button" class="btn btn-default navbar-btn" ng-click="editingToken = true" ng-show="!editingToken">
        <img src="assets/githublogo.png" width="20" height="20" alt="GitHub Logo">
        GitHub Access Token {{verified ? 'X' : ''}}
      </button>
      <form class="navbar-form navbar-left" ng-show="editingToken">
        <input type="text" class="form-control" placeholder="GitHub Access Token" ng-model="token" key-enter="saveToken(token)" key-escape="editingToken = false" click-focus="editingToken">
      </form>
    </div>
  </div>
</nav>
<!-- MAIN CONTAINER -->
<div class="container-fluid">
  <div class="row" ng-controller="AlertCtrl">
    <div class="col-sm-8 col-sm-offset-2">
      <alert ng-repeat="alert in alerts" type="{{alert.type}}" close="closeAlert($index)"><div ng-bind-html="alert.msg"></div></alert>
    </div><commit_msg>Added token save on blur, closing #1<commit_after><!DOCTYPE html>

<html lang="en" ng-app="githubgame">

<head>
	<meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1">
	<title>GitHub Game</title>
  <link rel="shortcut icon" href="favicon.ico" type="image/x-icon" />
	<link rel="stylesheet" type="text/css" href="//maxcdn.bootstrapcdn.com/bootswatch/3.3.2/lumen/bootstrap.min.css">
  <!-- build:css style.min.css -->
	<link rel="stylesheet" type="text/css" href="css/main.css">
  <!-- /build -->
  <!-- build:remove:dev -->
  <script src="external/angular.min.js"></script>
  <script src="external/angular-route.min.js"></script>
  <script src="external/angular-resource.min.js"></script>
  <script src="external/angular-cookies.min.js"></script>
  <script src="external/angular-sanitize.min.js"></script>
  <script src="external/ui-bootstrap-tpls.min.js"></script>
  <!-- /build -->
  <!-- build:remove:dist -->
  <script src="external/angular.js"></script>
  <script src="external/angular-route.js"></script>
  <script src="external/angular-resource.js"></script>
  <script src="external/angular-cookies.js"></script>
  <script src="external/angular-sanitize.js"></script>
  <script src="external/ui-bootstrap-tpls.js"></script>
  <!-- /build -->
  <!-- build:js app.min.js -->
  <script type="text/javascript" src="js/app.js"></script>
  <script type="text/javascript" src="js/routing.js"></script>
  <script type="text/javascript" src="js/start-controller.js"></script>
  <!-- /build -->
</head>

<body>

<!-- NAVBAR -->
<nav class="navbar navbar-default" role="navigation">
  <div class="container-fluid">
    <div class="navbar-header">
      <a class="navbar-brand" href="/">
        <span class="glyphicon glyphicon-home"></span>
        GitHub Game
      </a>
    </div>
    <div class="collapse navbar-collapse navbar-right" ng-controller="TokenController">
      <button type="button" class="btn btn-default navbar-btn" ng-click="editingToken = true" ng-show="!editingToken">
        <img src="assets/githublogo.png" width="20" height="20" alt="GitHub Logo">
        GitHub Access Token {{verified ? 'X' : ''}}
      </button>
      <form class="navbar-form navbar-left" ng-show="editingToken">
        <input type="text" class="form-control" placeholder="GitHub Access Token" ng-model="token" key-enter="saveToken(token)" key-escape="editingToken = false" click-focus="editingToken" ng-blur="saveToken(token)">
      </form>
    </div>
  </div>
</nav>
<!-- MAIN CONTAINER -->
<div class="container-fluid">
  <div class="row" ng-controller="AlertCtrl">
    <div class="col-sm-8 col-sm-offset-2">
      <alert ng-repeat="alert in alerts" type="{{alert.type}}" close="closeAlert($index)"><div ng-bind-html="alert.msg"></div></alert>
    </div>
{'fraction_non_alphanumeric': 0.21338155515370705, 'fraction_numerical': 0.004159132007233273, 'mean_word_length': 4.126042632066729, 'pattern_counts': {'":': 0, '<': 159, '<?xml version=': 0, '>': 159, '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': '5238147', 'n_tokens_mistral': 1869, 'n_tokens_neox': 1834, 'n_words': 312}