<commit_before><!DOCTYPE HTML>
<html>
<head>
  <title>{{ title }}</title>
  {{#each cssUrls}}
    <link rel="stylesheet" href="{{ this }}">
  {{/each}}
</head>
<body>{{{ html }}}
  <script>
    window.skit = {
      objects: {}
    };
  </script>
  {{#each scriptUrls}}
    <script src="{{ this }}"></script>
  {{/each}}
  <script>
    (function() {
      {{#if clientProxyObjects}}
        var netproxy = window.skit.objects[{{json netproxyModulePath}}];
        {{#each clientProxyObjects}}
          netproxy.__register__({{json name}}, {{json this}});
        {{/each}}
      {{/if}}

      var ControllerKlass = window.skit.objects[{{json controllerModulePath }}];
      var controller = new ControllerKlass();
      controller.__load__.apply(controller, {{json controllerArgs }});
      controller.__ready__();
    })()
  </script>
</body><commit_msg>Only register netproxy if the page loads that module.<commit_after><!DOCTYPE HTML>
<html>
<head>
  <title>{{ title }}</title>
  {{#each cssUrls}}
    <link rel="stylesheet" href="{{ this }}">
  {{/each}}
</head>
<body>{{{ html }}}
  <script>
    window.skit = {
      objects: {}
    };
  </script>
  {{#each scriptUrls}}
    <script src="{{ this }}"></script>
  {{/each}}
  <script>
    (function() {
      {{#if clientProxyObjects}}
        var netproxy = window.skit.objects[{{json netproxyModulePath}}];
        if (netproxy) {
          {{#each clientProxyObjects}}
            netproxy.__register__({{json name}}, {{json this}});
          {{/each}}
        }
      {{/if}}

      var ControllerKlass = window.skit.objects[{{json controllerModulePath }}];
      var controller = new ControllerKlass();
      controller.__load__.apply(controller, {{json controllerArgs }});
      controller.__ready__();
    })()
  </script>
</body>
{'fraction_non_alphanumeric': 0.1967670011148272, 'fraction_numerical': 0.0, 'mean_word_length': 2.9712389380530975, 'pattern_counts': {'":': 0, '<': 33, '<?xml version=': 0, '>': 33, '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': '5729504', 'n_tokens_mistral': 566, 'n_tokens_neox': 553, 'n_words': 125}