<commit_before><!DOCTYPE html>

<html>
<head>
  <title>mega.js</title>
  <link href='http://fonts.googleapis.com/css?family=Open+Sans:400,300' rel='stylesheet'>
  <script src='mega.js'></script>
  <link href='index.css' rel='stylesheet'>
  <link href='http://fonts.googleapis.com/css?family=Inconsolata' rel='stylesheet'>
  <meta name='viewport' content='width=device-width, user-scalable=no, initial-scale=1'>
</head>
<body>
  <h1>mega.js</h1>
  <div>
    <a href='mega.js' download>download</a>
  </div>
  <p><em>Mega.js</em> is a javascript library that adds more shortly named aliases of <em>document.querySelector</em> and <em>Object.addEventListener</em>.</p>
  <p class='code'><span class='comment'>// element selection</span><br>$('span.code').innerHTML = 'Hello, World!'<br><br><span class='comment'>// add an event listener</span><br>$('span.code').on('click', function() {<br>&nbsp;&nbsp;console.log('code was clicked')<br>})<br><br><span class='comment'>// the .on method is added to all objects,<br>// not just those returned by $</span><br>document.body.lastChild.on('touchstart', function() {<br>&nbsp;&nbsp;console.log('document.body.lastChild was touched')<br>})<br><br><span class='comment'>// you can only pass strings to $<br>// the following will result in an error</span><br>$(window).on('load', function() {<br>&nbsp;&nbsp;$('span.code').focus()<br>})<br><br><span class='comment'>// solution: don't use $</span><br>window.on('load', function() {<br>&nbsp;&nbsp;$('span.code').focus()<br>})</p>
</body>
</html><commit_msg>undid viewport meta editing<commit_after><!DOCTYPE html>

<html>
<head>
  <title>mega.js</title>
  <link href='http://fonts.googleapis.com/css?family=Open+Sans:400,300' rel='stylesheet'>
  <script src='mega.js'></script>
  <link href='index.css' rel='stylesheet'>
  <link href='http://fonts.googleapis.com/css?family=Inconsolata' rel='stylesheet'>
  <meta name='viewport' content='width=device-width, user-scalable=no'>
</head>
<body>
  <h1>mega.js</h1>
  <div>
    <a href='mega.js' download>download</a>
  </div>
  <p><em>Mega.js</em> is a javascript library that adds more shortly named aliases of <em>document.querySelector</em> and <em>Object.addEventListener</em>.</p>
  <p class='code'><span class='comment'>// element selection</span><br>$('span.code').innerHTML = 'Hello, World!'<br><br><span class='comment'>// add an event listener</span><br>$('span.code').on('click', function() {<br>&nbsp;&nbsp;console.log('code was clicked')<br>})<br><br><span class='comment'>// the .on method is added to all objects,<br>// not just those returned by $</span><br>document.body.lastChild.on('touchstart', function() {<br>&nbsp;&nbsp;console.log('document.body.lastChild was touched')<br>})<br><br><span class='comment'>// you can only pass strings to $<br>// the following will result in an error</span><br>$(window).on('load', function() {<br>&nbsp;&nbsp;$('span.code').focus()<br>})<br><br><span class='comment'>// solution: don't use $</span><br>window.on('load', function() {<br>&nbsp;&nbsp;$('span.code').focus()<br>})</p>
</body>
</html>
{'fraction_non_alphanumeric': 0.23485584710074506, 'fraction_numerical': 0.00550696469063816, 'mean_word_length': 6.53170731707317, 'pattern_counts': {'":': 0, '<': 131, '<?xml version=': 0, '>': 131, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3539168', 'n_tokens_mistral': 1089, 'n_tokens_neox': 1050, 'n_words': 211}