<commit_before>function googleMapsReadyFunc() {
    for(var i in googleMapsReady) {
        googleMapsReady[i]();
    }
}

googleMapsReady.push(function() {
    $('#address_address').placesAutocomplete({
        place_changed: function(place) {
            $('#address_latitude').val(place.geometry.location.lat());
            $('#address_longitude').val(place.geometry.location.lng());
        }
    });
    $('#fos_user_profile_form_address').placesAutocomplete({
        place_changed: function(place) {
            $('#fos_user_profile_form_latitude').val(place.geometry.location.lat());
            $('#fos_user_profile_form_longitude').val(place.geometry.location.lng());
        }
    });
    $('#fos_user_registration_form_address').placesAutocomplete({
        place_changed: function(place) {
            $('#fos_user_registration_form_latitude').val(place.geometry.location.lat());
            $('#fos_user_registration_form_longitude').val(place.geometry.location.lng());
        }
    });
    $('#map_canvas').searchMap({
        source: dogs
    });
});

function makeMapBounds(swlat, swlng, nelat, nelng) {
    var sw, ne;
    sw = new google.maps.LatLng(parseFloat(swlat), parseFloat(swlng));
    ne = new google.maps.LatLng(parseFloat(nelat), parseFloat(nelng));
    return new google.maps.LatLngBounds(sw, ne);
}<commit_msg>Javascript error with undefined dogs<commit_after>function googleMapsReadyFunc() {
    for(var i in googleMapsReady) {
        googleMapsReady[i]();
    }
}

googleMapsReady.push(function() {
    $('#address_address').placesAutocomplete({
        place_changed: function(place) {
            $('#address_latitude').val(place.geometry.location.lat());
            $('#address_longitude').val(place.geometry.location.lng());
        }
    });
    $('#fos_user_profile_form_address').placesAutocomplete({
        place_changed: function(place) {
            $('#fos_user_profile_form_latitude').val(place.geometry.location.lat());
            $('#fos_user_profile_form_longitude').val(place.geometry.location.lng());
        }
    });
    $('#fos_user_registration_form_address').placesAutocomplete({
        place_changed: function(place) {
            $('#fos_user_registration_form_latitude').val(place.geometry.location.lat());
            $('#fos_user_registration_form_longitude').val(place.geometry.location.lng());
        }
    });
    if(typeof dogs != 'undefined') {
        $('#map_canvas').searchMap({
            source: dogs
        });
    }
});

function makeMapBounds(swlat, swlng, nelat, nelng) {
    var sw, ne;
    sw = new google.maps.LatLng(parseFloat(swlat), parseFloat(swlng));
    ne = new google.maps.LatLng(parseFloat(nelat), parseFloat(nelng));
    return new google.maps.LatLngBounds(sw, ne);
}
{'fraction_non_alphanumeric': 0.15846599131693198, 'fraction_numerical': 0.0, 'mean_word_length': 3.466882067851373, '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': '3900488', 'n_tokens_mistral': 861, 'n_tokens_neox': 860, 'n_words': 99}