<commit_before><!DOCTYPE html>
<html>
<head>
    <title>Leaflet Map</title>
    <link rel="stylesheet" href="http://cdn.leafletjs.com/leaflet-0.7.3/leaflet.css"/>
    <style>
        #controls {
            float: left;
            position: relative;
        }
    </style>
</head>
<body>
<!-- Our web map and content will go here -->
<div id="map" style="width: 715px; height: 375px"></div>
<div id="controls" style="margin: 15px;">
    <button id="addButton">Show All Coffee Shops</button>
    <button id="removeButton">Hide All Coffee Shops</button>
    <button id="toggleButton">Toggle All Coffee Shops</button>
    <button id="filterSBux">Starbucks</button>
    <button id="filterDD">Dunkin Donuts</button>
</div>
<script src="http://cdn.leafletjs.com/leaflet-0.7.3/leaflet.js"></script>
<script src="//code.jquery.com/jquery-1.11.2.min.js"></script>
<script>
    // Web map code goes here
    var map = L.map('map', {center: [42.362432, -71.086086], zoom: 14});

    // Tile Layer is added to our basemap here
    L.tileLayer('http://{s}.tile.osm.org/{z}/{x}/{y}.png', {attribution: '&copy; <a href="http://www.openstreetmap.org/copyright">OpenStreetMap</a>'}).addTo(map);

    // Null variable that will hold our data
    var coffeeShopPoints = null;

    // load GeoJSON from an external file
    $.getJSON("data/coffee_cafes.geojson", function (data) {

        // set coffeeShops to GeoJSON, add GeoJSON layer to the map once the file is loaded
        coffeeShopPoints = L.geoJson(data, {
            onEachFeature: function (feature, layer) {
                layer.bindPopup(feature.properties.name);
            }
        }).addTo(map);
    });

    // Use $("elementID") and the jQuery click listener method to add all of the data layers
    $("#addButton").click(function () {
        map.removeLayer(coffeeShopPoints);
        $.getJSON("data/coffee_cafes.js", function (data) {
            // add GeoJSON layer to the map oncethe file is loaded
            coffeeShopPoints = L.geoJson(data, {<commit_msg>Fixed .js to .geojs<commit_after><!DOCTYPE html>
<html>
<head>
    <title>Leaflet Map</title>
    <link rel="stylesheet" href="http://cdn.leafletjs.com/leaflet-0.7.3/leaflet.css"/>
    <style>
        #controls {
            float: left;
            position: relative;
        }
    </style>
</head>
<body>
<!-- Our web map and content will go here -->
<div id="map" style="width: 715px; height: 375px"></div>
<div id="controls" style="margin: 15px;">
    <button id="addButton">Show All Coffee Shops</button>
    <button id="removeButton">Hide All Coffee Shops</button>
    <button id="toggleButton">Toggle All Coffee Shops</button>
    <button id="filterSBux">Starbucks</button>
    <button id="filterDD">Dunkin Donuts</button>
</div>
<script src="http://cdn.leafletjs.com/leaflet-0.7.3/leaflet.js"></script>
<script src="//code.jquery.com/jquery-1.11.2.min.js"></script>
<script>
    // Web map code goes here
    var map = L.map('map', {center: [42.362432, -71.086086], zoom: 14});

    // Tile Layer is added to our basemap here
    L.tileLayer('http://{s}.tile.osm.org/{z}/{x}/{y}.png', {attribution: '&copy; <a href="http://www.openstreetmap.org/copyright">OpenStreetMap</a>'}).addTo(map);

    // Null variable that will hold our data
    var coffeeShopPoints = null;

    // load GeoJSON from an external file
    $.getJSON("data/coffee_cafes.geojson", function (data) {

        // set coffeeShops to GeoJSON, add GeoJSON layer to the map once the file is loaded
        coffeeShopPoints = L.geoJson(data, {
            onEachFeature: function (feature, layer) {
                layer.bindPopup(feature.properties.name);
            }
        }).addTo(map);
    });

    // Use $("elementID") and the jQuery click listener method to add all of the data layers
    $("#addButton").click(function () {
        map.removeLayer(coffeeShopPoints);
        $.getJSON("data/coffee_cafes.geojason", function (data) {
            // add GeoJSON layer to the map oncethe file is loaded
            coffeeShopPoints = L.geoJson(data, {
{'fraction_non_alphanumeric': 0.15968457368161657, 'fraction_numerical': 0.017742730409068506, 'mean_word_length': 2.956140350877193, 'pattern_counts': {'":': 0, '<': 67, '<?xml version=': 0, '>': 67, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, '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': '4243054', 'n_tokens_mistral': 1381, 'n_tokens_neox': 1304, 'n_words': 327}