<commit_before>$(function() {

    var markers = [], $mapCanvas = $("#map_canvas"), address;

    $("#upcoming tbody tr").each(function(){
        var $self = $(this),
            html = $self.children("td.date").html() + "<br/>" +
                   $self.children("td.conference").html() + "<br/>";
                   
        // Add the new marker
        markers.push({
            address: $self.children("td.location").text(),
            icon: {
                image: "/media/img/icn-tool-mozilla.png",
                iconsize: [32, 26],
                iconanchor: [16, 13],
                infowindowanchor: [24, 0]
            },
            html: html
        });
    });

    // Start rendering the map with a default position.
    $mapCanvas.gMap({longitude: 1, latitude: 10, markers: markers, zoom: 2});
    $("#upcoming").tablesorter({sortList:[[0,0]]});
    $("#past").tablesorter({sortList:[[0,1]]});

    if ("geolocation" in navigator) {
        navigator.geolocation.getCurrentPosition(function (position) {
            // If we"re able and permitted to access position, move the map
            // center and zoom in a bit.<commit_msg>Formatting the calendar js file for consistency<commit_after>$(document).ready(function() {

    var markers = [], 
        $mapCanvas = $("#map_canvas"), 
        address;

    $("#upcoming tbody tr").each(function(){
        var $self = $(this),
            html = $self.children("td.date").html() + "<br/>" +
                   $self.children("td.conference").html() + "<br/>";
                   
        // Add the new marker
        markers.push({
            address: $self.children("td.location").text(),
            icon: {
                image: "/media/img/icn-tool-mozilla.png",
                iconsize: [32, 26],
                iconanchor: [16, 13],
                infowindowanchor: [24, 0]
            },
            html: html
        });
    });

    // Start rendering the map with a default position.
    $mapCanvas.gMap({ longitude: 1, latitude: 10, markers: markers, zoom: 2 });
    $("#upcoming").tablesorter({ sortList:[[0,0]] });
    $("#past").tablesorter({ sortList:[[0,1]] });

    if ("geolocation" in navigator) {
        navigator.geolocation.getCurrentPosition(function (position) {
            // If we"re able and permitted to access position, move the map
            // center and zoom in a bit.
{'fraction_non_alphanumeric': 0.16610878661087866, 'fraction_numerical': 0.015899581589958158, 'mean_word_length': 1.9158536585365853, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, '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': '4406302', 'n_tokens_mistral': 713, 'n_tokens_neox': 663, 'n_words': 166}