<commit_before>  <!-- Demo -->
  <section id="demo">
    <div id="timeline-embed" style="height: 1000px">
      <div id="timeline"></div>
    </div>
  </section>

  <!-- build:css http://cdn.knightlab.com/libs/timelinejs3/%(cdn)s/css/timeline.css -->
  <link rel="stylesheet" href="/build/css/timeline.css">
  <!-- endbuild -->
  <!-- build:js http://cdn.knightlab.com/libs/timelinejs3/%(cdn)s/js/timeline-min.js -->
  <script src="/build/js/timeline.js"></script>
  <!-- endbuild -->
  <script>
    $(document).ready(function(){
      $("#timeline-embed").height($(document).height());
      window.timeline = new VCO.Timeline('timeline-embed', 'timeline3.json', {
      });

      if ($("#timeline-embed").height() == 0) {
        setTimeout(function(){
            console.log("trying again. height: " + $(document).height())
            $("#timeline-embed").height($(document).height());
            window.timeline.updateDisplay();          
        },500);
        
      }
      window.onresize = function(event) {
        timeline.updateDisplay();
      }
    });
  </script>



<commit_msg>Fix embed height on examples<commit_after>  <!-- Demo -->
  <section id="demo">
    <div id="timeline-embed" style="height: 100%;">
      <div id="timeline"></div>
    </div>
  </section>

  <!-- build:css http://cdn.knightlab.com/libs/timelinejs3/%(cdn)s/css/timeline.css -->
  <link rel="stylesheet" href="/build/css/timeline.css">
  <!-- endbuild -->
  <!-- build:js http://cdn.knightlab.com/libs/timelinejs3/%(cdn)s/js/timeline-min.js -->
  <script src="/build/js/timeline.js"></script>
  <!-- endbuild -->
  <script>
    $(document).ready(function(){
      $("#timeline-embed").height($(document).height());
      window.timeline = new VCO.Timeline('timeline-embed', 'timeline3.json', {
      });

      if ($("#timeline-embed").height() == 0) {
        setTimeout(function(){
            console.log("trying again. height: " + $(document).height())
            $("#timeline-embed").height($(document).height());
            window.timeline.updateDisplay();          
        },500);
        
      }
      window.onresize = function(event) {
        timeline.updateDisplay();
      }
    });
  </script>




{'fraction_non_alphanumeric': 0.21880650994575046, 'fraction_numerical': 0.00949367088607595, 'mean_word_length': 2.529505582137161, 'pattern_counts': {'":': 0, '<': 35, '<?xml version=': 0, '>': 35, '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': '3517444', 'n_tokens_mistral': 736, 'n_tokens_neox': 707, 'n_words': 94}