<commit_before><!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="UTF-8">
    <title>OPENSEADRAGON TEST VIEWER</title>

    <script src="{{ host_name }}/static/ome_seadragon/js/openseadragon.min.js"></script>
    <script src="{{ host_name }}/static/ome_seadragon/js/jquery-1.11.3.min.js"></script>
    <script type="text/javascript" src="{{ host_name }}/static/webgateway/js/ome.csrf.js"></script>

    <script type="text/javascript">
        $(document).ready(function() {
            console.log("Loading openseadragon viewer");

            window.viewer = OpenSeadragon({
                id: "openseadragon_viewer",
                prefixUrl: '{{ host_name}}/static/ome_seadragon/img/openseadragon/',
                tileSources: '{{ host_name }}/ome_seadragon/deepzoom/get/{{ image_id }}.dzi'
            });
        });
    </script>
</head>
<body>
    <div id="openseadragon_viewer" style="width: 800px; height: 600px"></div>
</body>
</html><commit_msg>using compiled version of JS module in example<commit_after><!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="UTF-8">
    <title>OPENSEADRAGON TEST VIEWER</title>

    <script src="{{ host_name }}/static/ome_seadragon/js/openseadragon.min.js"></script>
    <script src="{{ host_name }}/static/ome_seadragon/js/jquery-1.11.3.min.js"></script>
    <script src="{{ host_name }}/static/ome_seadragon/js/ome_seadragon.js"></script>
    <script type="text/javascript" src="{{ host_name }}/static/webgateway/js/ome.csrf.js"></script>

    <script type="text/javascript">
        $(document).ready(function() {
            console.log("Loading openseadragon viewer");

            window.viewer = new ViewerController(
                    "openseadragon_viewer",
                    "{{ host_name}}/static/ome_seadragon/img/openseadragon/",
                    "{{ host_name }}/ome_seadragon/deepzoom/get/{{ image_id }}.dzi"
            );
            viewer.build_viewer();
        });
    </script>
</head>
<body>
    <div id="openseadragon_viewer" style="width: 800px; height: 600px"></div>
</body>
</html>
{'fraction_non_alphanumeric': 0.17917448405253283, 'fraction_numerical': 0.0150093808630394, 'mean_word_length': 3.0093984962406015, 'pattern_counts': {'":': 0, '<': 45, '<?xml version=': 0, '>': 45, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 2}, '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': '1780645', 'n_tokens_mistral': 757, 'n_tokens_neox': 710, 'n_words': 111}