<commit_before><!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <meta http-equiv="x-ua-compatible" content="ie=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <title>Cropper.js</title>
  <link rel="stylesheet" href="../dist/cropper.css">
  <style>
    .container {
      max-width: 960px;
      margin: 20px auto;
    }

    .img-container {
      width: 100%;
      margin-top: 10px;
    }

    .img-container img {
      max-width: 100%;
    }
  </style>
</head>
<body>

  <div class="container">
    <h1>Cropper with responsive container</h1>
    <button type="button" id="replace">Replace Image</button>
    <div class="img-container">
      <img src="../assets/img/picture.jpg" alt="Picture">
    </div>
  </div>

  <script src="../dist/cropper.js"></script>
  <script>
    window.addEventListener('DOMContentLoaded', function () {
      var image = document.querySelector('.img-container > img');
      var cropper = new Cropper(image, {
        movable: false,
        zoomable: false,
        rotatable: false,
        scalable: false
      });

      document.getElementById('replace').onclick = function () {
        cropper.replace('../assets/img/picture-2.jpg');
      };
    });
  </script>
</body>
</html>
<commit_msg>The image should be full width<commit_after><!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <meta http-equiv="x-ua-compatible" content="ie=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <title>Cropper.js</title>
  <link rel="stylesheet" href="../dist/cropper.css">
  <style>
    .container {
      max-width: 960px;
      margin: 20px auto;
    }

    .img-container {
      width: 100%;
      margin-top: 10px;
    }

    .img-container img {
      width: 100%;
    }
  </style>
</head>
<body>

  <div class="container">
    <h1>Cropper with responsive container</h1>
    <button type="button" id="replace">Replace Image</button>
    <div class="img-container">
      <img src="../assets/img/picture.jpg" alt="Picture">
    </div>
  </div>

  <script src="../dist/cropper.js"></script>
  <script>
    window.addEventListener('DOMContentLoaded', function () {
      var image = document.querySelector('.img-container > img');
      var cropper = new Cropper(image, {
        movable: false,
        zoomable: false,
        rotatable: false,
        scalable: false
      });

      document.getElementById('replace').onclick = function () {
        cropper.replace('../assets/img/picture-2.jpg');
      };
    });
  </script>
</body>
</html>

{'fraction_non_alphanumeric': 0.1781140861466822, 'fraction_numerical': 0.013969732246798603, 'mean_word_length': 2.774524158125915, 'pattern_counts': {'":': 0, '<': 59, '<?xml version=': 0, '>': 61, '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': '7130359', 'n_tokens_mistral': 886, 'n_tokens_neox': 835, 'n_words': 167}