<commit_before>{% extends "layout.html" %}

{% set state_eof = True %}

{% block head %}
<script>
window.addEventListener('load', function(){
  var qbox = document.getElementById('qbox');
  // Hide box in center and display results
  qbox.addEventListener('keyup', function(e){
    var content = document.getElementById("content");
    var querybox = document.getElementById("query");
    var searchbox = document.getElementById("search-box");
    searchbox.style.display = 'block';
    query.value = qbox.value;
    query.focus();
    // Update state
    state.query   = qbox.value;
    state.offset  = 0;
    state.eof     = false;
    state.changed = true;
    // Set tree correctly
    var tree = document.getElementById("tree");
    var qtree = document.getElementById("qtree");
    tree.value = qtree.value;
    // Clear content
    content.innerHTML = "";
    // Dispatch dxr-state-changed
    window.dispatchEvent(
      new CustomEvent( 'dxr-state-changed', {
        detail: {}
      })
    );
  }, false);
}, false);
</script>
<style type="text/css"><commit_msg>Start standardizing JS on single quotes.<commit_after>{% extends "layout.html" %}

{% set state_eof = True %}

{% block head %}
<script>
window.addEventListener('load', function(){
  var qbox = document.getElementById('qbox');
  // Hide box in center and display results
  qbox.addEventListener('keyup', function(e){
    var content = document.getElementById('content');
    var querybox = document.getElementById('query');
    var searchbox = document.getElementById('search-box');
    searchbox.style.display = 'block';
    query.value = qbox.value;
    query.focus();
    // Update state
    state.query   = qbox.value;
    state.offset  = 0;
    state.eof     = false;
    state.changed = true;
    // Set tree correctly
    var tree = document.getElementById('tree');
    var qtree = document.getElementById('qtree');
    tree.value = qtree.value;
    // Clear content
    content.innerHTML = '';
    // Dispatch dxr-state-changed
    window.dispatchEvent(
      new CustomEvent( 'dxr-state-changed', {
        detail: {}
      })
    );
  }, false);
}, false);
</script>
<style type="text/css">
{'fraction_non_alphanumeric': 0.1486424298205246, 'fraction_numerical': 0.0009203865623561896, 'mean_word_length': 3.109640831758034, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, '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': '7459905', 'n_tokens_mistral': 644, 'n_tokens_neox': 629, 'n_words': 150}