<commit_before><!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.0/jquery.min.js"></script>
    <script src="./js/jquery.inline-currency.js"></script>
    <link rel="stylesheet" href="./css/jquery.inline-currency.css" />
    <script>
    $(document).ready(function () {
      $('.jic').inlineCurrency();
      $('.jic-test').inlineCurrency({
          "thousandsSplit": " ",
          "decimalsSplit": ","
      });
    });
    </script>
    <title></title>
    <style media="screen">
      code {
        background: #eee;
        padding: 10px 15px;
        display: block;
        margin-top: 5px;
      }
      .jic-test {
          position: relative;
      }
      .jic-test:hover .jic-container {
          opacity: 1;
          visibility: visible;
      }
    </style>
</head>
<body style="font-family: Helvetica, Arial, sans-serif;">
    <h1>jQuery Inline Currency (JIC) Demo</h1>

    <p>
      First of all, move each price into span element:
    </p>
    <code>
      &lt;span class="jic"&gt;$10&lt;/span&gt;
    </code>
    <p>You can buy it for <span class="jic">$10</span></p>
    <code>
      &lt;span class="jic" data-jic-currency="EUR" data-jic-convert-to="rub, usd, chf"&gt;10 EUR&lt;/span&gt;
    </code>
    <p>Or just in EUR, like this: <span class="jic" data-jic-value="10" data-jic-currency="EUR" data-jic-convert-to="rub, usd">Ten EUR</span></p>
    <code>
      &lt;span class="jic" data-jic-value="100" data-jic-currency="rub" data-jic-convert-to="eur, usd"&gt;100 рублей&lt;/span&gt;
    </code>
    <p>Or just in rubles, like this: <span class="jic" data-jic-currency="rub" data-jic-convert-to="eur, usd">100 рублей</span></p>

    <p>
        Separators test:
    </p>
    <p><span class="jic-test">$1 000,01</span></p>
    <p><span class="jic-test">$100 000,20</span></p>

    <p>
      And then, apply inlineCurrency plugin to your elements:
    </p>

    <code>
      $(document).ready(function () {<br>
      &nbsp;&nbsp;$('.jic').inlineCurrency();<br>
      });
    </code>
</body><commit_msg>demo update<commit_after><!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.0/jquery.min.js"></script>
    <script src="./js/jquery.inline-currency.js"></script>
    <link rel="stylesheet" href="./css/jquery.inline-currency.css" />
    <script>
    $(document).ready(function () {
      $('.jic').inlineCurrency();
      $('.jic-test').inlineCurrency({
          "thousandsSplit": " ",
          "decimalsSplit": ","
      });
    });
    </script>
    <title></title>
    <style media="screen">
      code {
          background: #eee;
          padding: 5px 20px;
          display: block;
          margin-top: 5px;
          white-space: pre;
          line-height: 15px;
          overflow-x: auto;
      }
      hr {
          display: block;
          height: 1px;
          width: 100%;
          background: #ccc;
          border: none;
          margin-bottom: 30px;
      }
      .jic-test {
          position: relative;
          border-bottom: dotted 1px #ccc;
          cursor: default;
      }
      .jic-test:hover .jic-container {
          opacity: 1;
          visibility: visible;
      }
      .demo {
          font-size: 18px;
      }
    </style>
</head>
<body style="font-family: Helvetica, Arial, sans-serif;">
    <h1>jQuery Inline Currency (JIC) Demo</h1>

    <p>
      First of all, move each price into span element:
    </p>
    <code>
&lt;span class="jic"&gt;$10&lt;/span&gt;
    </code>
    <p>
      And then, apply inlineCurrency plugin to your elements:
    </p>
    <code>
$(document).ready(function () {
  $('.jic').inlineCurrency();
});
    </code>
    <p>Result:</p>
    <p class="demo">You can buy it for <span class="jic">$10</span></p>
    <hr>
    <p>You can use inline parameters for special cases:</p>
    <code>
&lt;span class="jic" data-jic-value="10" data-jic-currency="EUR" data-jic-convert-to="rub, usd, chf"&gt;Ten euros&lt;/span&gt;
    </code>
    <p>Result:</p>
    <p class="demo">
        <span class="jic" data-jic-value="10" data-jic-currency="EUR" data-jic-convert-to="rub, usd, chf">Ten euros</span>
    </p>
    <hr>
    <p>
        If you use decimal or thousands separators in prices, you can set config:
    </p>

    <code>
$(document).ready(function () {
  $('.jic-test').inlineCurrency({
      "thousandsSplit": " ",
      "decimalsSplit": ","
  });
});
    </code>

    <p>Result:</p>
    <p class="demo"><span class="jic-test">$100 000,20</span></p>

</body>
{'fraction_non_alphanumeric': 0.1928374655647383, 'fraction_numerical': 0.017164653528289893, 'mean_word_length': 2.4030281182408073, 'pattern_counts': {'":': 6, '<': 117, '<?xml version=': 0, '>': 117, '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': '6661183', 'n_tokens_mistral': 1766, 'n_tokens_neox': 1688, 'n_words': 330}