<commit_before><!DOCTYPE html>
<html>
  <head>
    <meta charset='utf-8'>
    <meta http-equiv='X-UA-Compatible' content='IE=edge'>
    <title>LibKit Tests</title>
    <meta name='description' content=''>
    <meta name='viewport' content='width=device-width, initial-scale=1'>

    <link rel="stylesheet" href='app.css'>


  </head>
  <body>

    <script type="text/x-handlebars">
      <h2>Torii: Example Usage</h2>

      <button {{action "authenticate" "linked-in-oauth2"}}>Linked In</button>
      <button {{action "authenticate" "dummy-success"}}>Dummy Success</button>
      <button {{action "authenticate" "dummy-failure"}}>Dummy Failure</button>

      <div>
        Auth data: {{#if authData}}
        { type: {{authData.type}} }
        {{/if}}
      </div>
      <div>
        Error data: {{error}}
      </div>
    </script>

    <script src='../bower_components/loader/loader.js'></script>
    <script src='../bower_components/jquery/jquery.js'></script>
    <script src='../bower_components/handlebars/handlebars.js'></script>
    <script src='../bower_components/ember/ember.js'></script>
    <script src='../vendor/ember-shim.js'></script>
    <script src='../bower_components/ember-resolver/dist/ember-resolver.js'></script>
    <script src='../dist/torii.amd.js'></script>

    <script src='app.js'></script>
  </body>
</html>
<commit_msg>add window.Torii global to example app<commit_after><!DOCTYPE html>
<html>
  <head>
    <meta charset='utf-8'>
    <meta http-equiv='X-UA-Compatible' content='IE=edge'>
    <title>LibKit Tests</title>
    <meta name='description' content=''>
    <meta name='viewport' content='width=device-width, initial-scale=1'>

    <link rel="stylesheet" href='app.css'>
    <script type="text/javascript" charset="utf-8">
      window.Torii = {
        options: {
          linkedInOauth2: {
            apiKey: '<KEY>'
          }
        }
      };
    </script>


  </head>
  <body>

    <script type="text/x-handlebars">
      <h2>Torii: Example Usage</h2>

      <button {{action "authenticate" "linked-in-oauth2"}}>Linked In</button>
      <button {{action "authenticate" "dummy-success"}}>Dummy Success</button>
      <button {{action "authenticate" "dummy-failure"}}>Dummy Failure</button>

      <div>
        Auth data: {{#if authData}}
        { type: {{authData.type}} }
        {{/if}}
      </div>
      <div>
        Error data: {{error}}
      </div>
    </script>

    <script src='../bower_components/loader/loader.js'></script>
    <script src='../bower_components/jquery/jquery.js'></script>
    <script src='../bower_components/handlebars/handlebars.js'></script>
    <script src='../bower_components/ember/ember.js'></script>
    <script src='../vendor/ember-shim.js'></script>
    <script src='../bower_components/ember-resolver/dist/ember-resolver.js'></script>
    <script src='../dist/torii.amd.js'></script>

    <script src='app.js'></script>
  </body>
</html>

{'fraction_non_alphanumeric': 0.1989100817438692, 'fraction_numerical': 0.004087193460490463, 'mean_word_length': 3.017783857729138, 'pattern_counts': {'":': 0, '<': 94, '<?xml version=': 0, '>': 94, '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': '6769997', 'n_tokens_mistral': 1020, 'n_tokens_neox': 986, 'n_words': 166}