<commit_before><html>
  <head>
    <link rel="stylesheet" type="text/css" href="examples.css" />
    <link rel="stylesheet" type="text/css" href="../build/Canvas2D.css" />

    <script type="text/javascript" src="includes.js"></script>
  </head>
  <body>
    <h1>Libraries &amp; Shapes</h1>

    <script>
      Canvas2D.Alias.from( { name: "mySheet", supers: [ "sheet" ] } );
      Canvas2D.Alias.from( { name: "myImage", supers: [ "image" ] } );
    </script>

    <div class="box">
      <h2>All Shapes</h2>
      <ol>
	<script>
	  Canvas2D.shapes.iterate(function(name, clazz) {
            document.writeln("<li>" + name + " : " + clazz.getType() + "</li>");
          } );
	</script>
      </ol>
    </div>

    <div class="box">
      <h2>Registered Libraries</h2>
      <ol>
	<script>
	  Canvas2D.libraries.iterate(function(library) {
            document.writeln("<li>" + library.key + "</li>");
          } );
	</script>
      </ol>
    </div>

    <div class="box">
      <h2>Shapes in Canvas2D library</h2>
      <ol>
	<script>
	  Canvas2D.libraries.get("Canvas2D").iterate(function(shape) {
            document.writeln("<li>" + shape.getType() + "</li>");
          } );
	</script>
      </ol>
    </div>

    <div class="box">
      <h2>Shapes in Aliasses library</h2>
      <ol>
	<script>
	  Canvas2D.libraries.get("Aliasses").iterate(function(shape) {
            document.writeln("<li>" + shape.getType() + "</li>");
          } );
	</script>
      </ol>
    </div>

  </body>
</html><commit_msg>fixed bad iterator in libraries example<commit_after><html>
  <head>
    <link rel="stylesheet" type="text/css" href="examples.css" />
    <link rel="stylesheet" type="text/css" href="../build/Canvas2D.css" />

    <script type="text/javascript" src="includes.js"></script>
  </head>
  <body>
    <h1>Libraries &amp; Shapes</h1>

    <script>
      Canvas2D.Alias.from( { name: "mySheet", supers: [ "sheet" ] } );
      Canvas2D.Alias.from( { name: "myImage", supers: [ "image" ] } );
    </script>

    <div class="box">
      <h2>All Shapes</h2>
      <ol>
	<script>
	  Canvas2D.shapes.iterate(function(name, clazz) {
            document.writeln("<li>" + name + " : " + clazz.getType() + "</li>");
          } );
	</script>
      </ol>
    </div>

    <div class="box">
      <h2>Registered Libraries</h2>
      <ol>
	<script>
	  Canvas2D.libraries.iterate(function(key, value) {
            document.writeln("<li>" + key + "</li>");
          } );
	</script>
      </ol>
    </div>

    <div class="box">
      <h2>Shapes in Canvas2D library</h2>
      <ol>
	<script>
	  Canvas2D.libraries.get("Canvas2D").iterate(function(shape) {
            document.writeln("<li>" + shape.getType() + "</li>");
          } );
	</script>
      </ol>
    </div>

    <div class="box">
      <h2>Shapes in Aliasses library</h2>
      <ol>
	<script>
	  Canvas2D.libraries.get("Aliasses").iterate(function(shape) {
            document.writeln("<li>" + shape.getType() + "</li>");
          } );
	</script>
      </ol>
    </div>

  </body>
</html>
{'fraction_non_alphanumeric': 0.2106990482441746, 'fraction_numerical': 0.012471283229405973, 'mean_word_length': 2.3716814159292037, 'pattern_counts': {'":': 0, '<': 111, '<?xml version=': 0, '>': 111, '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': '7462024', 'n_tokens_mistral': 1145, 'n_tokens_neox': 1102, 'n_words': 185}