<commit_before>var soundManagerReady = false;
var notes = {}

soundManager.setup({
    url: '/static/swf/',
    preferFlash: false,
    onready: function() {
        soundManagerReady = true;
    }
});

function playNote(note) {
    if (!soundManagerReady) {
        return;
    }

    if (!(note in notes)) {<commit_msg>Force Flash mode on Firefox to prevent crashes.<commit_after>var soundManagerReady = false;
var soundManagerPreferFlash = false;
var notes = {}

if (navigator.userAgent.toLowerCase().indexOf('firefox') > -1) {
    soundManagerPreferFlash = true;
}

soundManager.setup({
    url: '/static/swf/',
    preferFlash: soundManagerPreferFlash,
    flashVersion: 9,
    useHighPerformance: true,
    onready: function() {
        soundManagerReady = true;
    },
});

function playNote(note) {
    if (!soundManagerReady) {
        return;
    }

    if (!(note in notes)) {
{'fraction_non_alphanumeric': 0.12965050732807215, 'fraction_numerical': 0.002254791431792559, 'mean_word_length': 3.2085308056872037, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 4, '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': '3848991', 'n_tokens_mistral': 282, 'n_tokens_neox': 274, 'n_words': 65}