<commit_before><div class="row">
  <div class="col-md-12">
    <input class="form-control input-lg" type="text" ng-model="search.name" ng-keydown="limit=10" autofocus placeholder="Search">
  </div>
</div>


<div class="loader" ng-hide="libraries">
  <p><i class="fa fa-spinner fa-2x fa-spin"></i> Loading...</p>
</div>

<div class="results" ng-show="libraries">
  <div class="libraries">
    <div class="library" ng-repeat="library in libraries | filter:search | orderBy:orderByName | limitTo:limit | as:'libraries.filtered'" repeat-done="getLibraries">
      <div class="row">
        <div class="col-md-6">
          <h4 class="name"><a href="/#/{{library.name}}">{{library.name}}</a></h4>

          <div class="btn-group versionSelector">
            <a href="" title=""
                dropdown-select="library.versions"
                dropdown-model="library.selectedVersion">
                Versions <i class="fa fa-caret-down"></i>
            </a>
          </div>
        </div>

        <div class="col-md-6">
          <div class="extras">
            <span class="author">{{library.author}}</span>
            <a ng-if="library.github" class="github" href="{{library.github}}"><i class="fa fa-github fa-2x"></i></a>
            <a class="homepage" href="{{library.homepage}}"><i class="fa fa-globe fa-2x"></i></a>
          </div>
        </div>
      </div> <!-- row -->

      <div class="row-fluid">
        <p class="description">{{library.description}}</p>
      </div>
      <ul class="versions">
        <li class="version" ng-repeat="(version, files) in library.cdn" ng-if="library.selectedVersion.value == version">
          <ul class="files" ng-class="{full: library.showing}">
            <li class="file" ng-repeat="file in files track by $index"><a href="//oss.maxcdn.com/libs/{{library.name}}/{{version}}/{{file}}" target="_blank">//oss.maxcdn.com/libs/{{library.name}}/{{version}}/{{file}}</a></li>
          </ul>
        </li>
      </ul>

      <div class="show" ng-if="hasEnoughItems(library)" ng-switch on="library.showing">
        <div class="less" ng-switch-when="true" ng-click="library.showing = false">Show less</div>
        <div class="more" ng-switch-default ng-click="library.showing = true">Show more</div><commit_msg>Open the extras link in a new tab.<commit_after><div class="row">
  <div class="col-md-12">
    <input class="form-control input-lg" type="text" ng-model="search.name" ng-keydown="limit=10" autofocus placeholder="Search">
  </div>
</div>


<div class="loader" ng-hide="libraries">
  <p><i class="fa fa-spinner fa-2x fa-spin"></i> Loading...</p>
</div>

<div class="results" ng-show="libraries">
  <div class="libraries">
    <div class="library" ng-repeat="library in libraries | filter:search | orderBy:orderByName | limitTo:limit | as:'libraries.filtered'" repeat-done="getLibraries">
      <div class="row">
        <div class="col-md-6">
          <h4 class="name"><a href="/#/{{library.name}}">{{library.name}}</a></h4>

          <div class="btn-group versionSelector">
            <a href="" title=""
                dropdown-select="library.versions"
                dropdown-model="library.selectedVersion">
                Versions <i class="fa fa-caret-down"></i>
            </a>
          </div>
        </div>

        <div class="col-md-6">
          <div class="extras">
            <span class="author">{{library.author}}</span>
            <a ng-if="library.github" class="github" href="{{library.github}}" target="_blank"><i class="fa fa-github fa-2x"></i></a>
            <a class="homepage" href="{{library.homepage}}" target="_blank"><i class="fa fa-globe fa-2x"></i></a>
          </div>
        </div>
      </div> <!-- row -->

      <div class="row-fluid">
        <p class="description">{{library.description}}</p>
      </div>
      <ul class="versions">
        <li class="version" ng-repeat="(version, files) in library.cdn" ng-if="library.selectedVersion.value == version">
          <ul class="files" ng-class="{full: library.showing}">
            <li class="file" ng-repeat="file in files track by $index"><a href="//oss.maxcdn.com/libs/{{library.name}}/{{version}}/{{file}}" target="_blank">//oss.maxcdn.com/libs/{{library.name}}/{{version}}/{{file}}</a></li>
          </ul>
        </li>
      </ul>

      <div class="show" ng-if="hasEnoughItems(library)" ng-switch on="library.showing">
        <div class="less" ng-switch-when="true" ng-click="library.showing = false">Show less</div>
        <div class="more" ng-switch-default ng-click="library.showing = true">Show more</div>
{'fraction_non_alphanumeric': 0.2118699541784857, 'fraction_numerical': 0.0048003491162993675, 'mean_word_length': 2.9079283887468033, 'pattern_counts': {'":': 0, '<': 127, '<?xml version=': 0, '>': 127, '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': '6932050', 'n_tokens_mistral': 1502, 'n_tokens_neox': 1446, 'n_words': 274}