<commit_before><!DOCTYPE html>
<html>
    <head>
        <meta charset="utf8">
        <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=0"/>
        <meta name="apple-mobile-web-app-capable" content="yes">
        <meta name="apple-mobile-web-app-status-bar-style" content="black">
        
        <title>{{title}}</title>
        
        <script src="http://ajax.googleapis.com/ajax/libs/jquery/2.0.0/jquery.min.js"></script>
        <script src="{{ static_url('comicbook/js/comicbook.js') }}"></script>
        <link rel="stylesheet" href="{{ static_url('comicbook/comicbook.css') }}">
        <style>.toolbar li:first-child, .toolbar li:nth-child(2) {display:none}</style>
    </head>
    <body>
    
    <canvas id="comic"></canvas>
    
    <script>
        var pages,book,i;
        pages = [];
        for( i=0; i<{{count}}; i++ )
        {
           pages.push('page/'+i+'?api_key={{api_key}}');
        }
        
        target_page = {{page}};
        if (target_page != 0 && location.hash=='')
        {
            location.hash = (target_page+1).toString()
        }
        //set the bookmark
        $.getJSON( 'page/' + target_page  +'/bookmark?api_key={{api_key}}')
        
        book=new ComicBook('comic',pages ,
            {  
                libPath: "{{ static_url('comicbook/js') }}", 
                displayMode: 'single', 
                keyboard: { next: 39, previous: 37 },
                pageTurnCallback: function(page){$.getJSON( 'page/'+(page-1)+'/bookmarkapi_key={{api_key}}')}
            }<commit_msg>fixed a typo in setting the bookmark<commit_after><!DOCTYPE html>
<html>
    <head>
        <meta charset="utf8">
        <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=0"/>
        <meta name="apple-mobile-web-app-capable" content="yes">
        <meta name="apple-mobile-web-app-status-bar-style" content="black">
        
        <title>{{title}}</title>
        
        <script src="http://ajax.googleapis.com/ajax/libs/jquery/2.0.0/jquery.min.js"></script>
        <script src="{{ static_url('comicbook/js/comicbook.js') }}"></script>
        <link rel="stylesheet" href="{{ static_url('comicbook/comicbook.css') }}">
        <style>.toolbar li:first-child, .toolbar li:nth-child(2) {display:none}</style>
    </head>
    <body>
    
    <canvas id="comic"></canvas>
    
    <script>
        var pages,book,i;
        pages = [];
        for( i=0; i<{{count}}; i++ )
        {
           pages.push('page/'+i+'?api_key={{api_key}}');
        }
        
        target_page = {{page}};
        if (target_page != 0 && location.hash=='')
        {
            location.hash = (target_page+1).toString()
        }
        //set the bookmark
        $.getJSON( 'page/' + target_page  +'/bookmark?api_key={{api_key}}')
        
        book=new ComicBook('comic',pages ,
            {  
                libPath: "{{ static_url('comicbook/js') }}", 
                displayMode: 'single', 
                keyboard: { next: 39, previous: 37 },
                pageTurnCallback: function(page){$.getJSON( 'page/'+(page-1)+'/bookmark?api_key={{api_key}}')}
            }
{'fraction_non_alphanumeric': 0.18874378109452736, 'fraction_numerical': 0.009950248756218905, 'mean_word_length': 2.175715695952616, 'pattern_counts': {'":': 0, '<': 47, '<?xml version=': 0, '>': 45, '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': '6257863', 'n_tokens_mistral': 1072, 'n_tokens_neox': 1030, 'n_words': 158}