<commit_before>var editor;
var author_name;
var author_real_name;

function initialize_editor(local_filename, name, real_name, img_upload_url) {
    author_name = name;
    author_real_name = real_name;

    editor = new EpicEditor({
        container: 'epiceditor',
        textarea: "content",
        buttons: false,
        basePath: '/static/css/vendor/editor/epic',
        theme: {
            base: '/base/hackguides.css',
            editor: '/editor/hackguides.css',
            preview: '/preview/github.css',
        },
        button: {
            preview: false,
            fullscreen: false,
            bar: "auto"
        },
        localStorageName: 'epiceditor',
        parser: marked,
        clientSideStorage: true,
        file: {
            name: local_filename,
            defaultContent: '',
            autoSave: 100,
            defaultContent: '# Untitled \n\nStart writing your tutorial!',
        },
        focusOnLoad: false,
        useNativeFullscreen: false,
        autogrow: false
        }).load(
    function () {
    });

    editor.on('update', function () {
        /* Inject header information as it would appear on a regular page since
         * this content is not directly in the editor box */
        var header = get_article_header_data();<commit_msg>Browser's local storage renamed to `articles`.<commit_after>var editor;
var author_name;
var author_real_name;

function initialize_editor(local_filename, name, real_name, img_upload_url) {
    author_name = name;
    author_real_name = real_name;

    editor = new EpicEditor({
        container: 'epiceditor',
        textarea: "content",
        basePath: '/static/css/vendor/editor/epic',
        theme: {
            base: '/base/hackguides.css',
            editor: '/editor/hackguides.css',
            preview: '/preview/github.css',
        },
        buttons: false,
        button: {
            preview: false,
            fullscreen: false,
            bar: "auto"
        },
        localStorageName: 'articles',
        parser: marked,
        clientSideStorage: true,
        file: {
            name: local_filename,
            defaultContent: '',
            autoSave: 500,
            defaultContent: '# Untitled \n\nStart writing your tutorial!',
        },
        focusOnLoad: false,
        useNativeFullscreen: false,
        autogrow: false
        }).load(
    function () {
    });

    editor.on('update', function () {
        /* Inject header information as it would appear on a regular page since
         * this content is not directly in the editor box */
        var header = get_article_header_data();
{'fraction_non_alphanumeric': 0.10291335603480893, 'fraction_numerical': 0.0022701475595913734, 'mean_word_length': 1.9808342728297632, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '4808738', 'n_tokens_mistral': 732, 'n_tokens_neox': 714, 'n_words': 188}