<commit_before>// Allow user to change style via the ?s=xxx URL parameter
// Uses "osm-intl" as the default style
var match = location.search.match(/s=([^&\/]*)/);
var style = (match && match[1]) || 'osm-intl';

// Create a map
var map = L.map('map').setView([40.75, -73.96], 4);

function bracketDevicePixelRatio() {
    var brackets = [1, 1.3, 1.5, 2, 2.6, 3],
        baseRatio = window.devicePixelRatio || 1;
    for (var i = 0; i < brackets.length; i++) {
        var scale = brackets[i];
        if (scale >= baseRatio || (baseRatio - scale) < 0.1) {
            return scale;
        }
    }
    return brackets[brackets.length - 1];
}<commit_msg>hide leaflet prefix<commit_after>// Allow user to change style via the ?s=xxx URL parameter
// Uses "osm-intl" as the default style
var match = location.search.match(/s=([^&\/]*)/);
var style = (match && match[1]) || 'osm-intl';

// Create a map
var map = L.map('map').setView([40.75, -73.96], 4);
map.attributionControl.setPrefix('');

function bracketDevicePixelRatio() {
    var brackets = [1, 1.3, 1.5, 2, 2.6, 3],
        baseRatio = window.devicePixelRatio || 1;
    for (var i = 0; i < brackets.length; i++) {
        var scale = brackets[i];
        if (scale >= baseRatio || (baseRatio - scale) < 0.1) {
            return scale;
        }
    }
    return brackets[brackets.length - 1];
}
{'fraction_non_alphanumeric': 0.17825443786982248, 'fraction_numerical': 0.03550295857988166, 'mean_word_length': 2.69672131147541, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 5, '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': '6668076', 'n_tokens_mistral': 514, 'n_tokens_neox': 459, 'n_words': 137}