<commit_before>/*global L*/
/*jslint vars: true, plusplus: true, devel: true, nomen: true, indent: 4, maxerr: 50 */
/*global define */

var centerOfBostonCoordinates = [42.3601, -71.0589],
    pjfanLocationCoordinates = [42.3629, -71.0890],
    mapboxAPIToken = prompt("Please enter jbshin's mapbox API token", "API Token");

var mymap = L.map('mapid').setView(centerOfBostonCoordinates, 11);

L.mapbox.accessToken = mapboxAPIToken;
L.tileLayer('https://api.mapbox.com/styles/v1/mapbox/dark-v9/tiles/256/{z}/{x}/{y}?access_token=' + mapboxAPIToken, {
    attribution: 'Map data &copy; <a href="http://openstreetmap.org">OpenStreetMap</a> contributors, <a href="http://creativecommons.org/licenses/by-sa/2.0/">CC-BY-SA</a>, Imagery © <a href="http://mapbox.com">Mapbox</a>',
    accessToken: mapboxAPIToken
}).addTo(mymap);
var pjfanLocationMarker = L.marker(pjfanLocationCoordinates).addTo(mymap);
pjfanLocationMarker.bindPopup("<b>Peter \"BBOY\" Fan's Location</b>");


var request = new XMLHttpRequest();
request.open("GET", "https://data.cityofboston.gov/resource/ufcx-3fdn.json?year=2012&month=11&day_week=Thursday", false);<commit_msg>updated a location marker with a custom icon<commit_after>/*global L*/
/*jslint vars: true, plusplus: true, devel: true, nomen: true, indent: 4, maxerr: 50 */
/*global define */

var centerOfBostonCoordinates = [42.3601, -71.0589],
    pjfanLocationCoordinates = [42.3629, -71.0890],
    mapboxAPIToken = prompt("Please enter jbshin's mapbox API token", "API Token");

var pjfanMarkerIcon = L.icon({
    iconUrl: '../pjfan_marker_icon.png',
    shadowURL: '../pjfan_marker_icon_shadow.png',
    iconSize: [60, 80],
    shadowSize: [40, 40],
    iconAnchor: [30, 79],
    shadowAnchor: [1, 1]
});

var mymap = L.map('mapid').setView(centerOfBostonCoordinates, 11);

L.mapbox.accessToken = mapboxAPIToken;
L.tileLayer('https://api.mapbox.com/styles/v1/mapbox/dark-v9/tiles/256/{z}/{x}/{y}?access_token=' + mapboxAPIToken, {
    attribution: 'Map data &copy; <a href="http://openstreetmap.org">OpenStreetMap</a> contributors, <a href="http://creativecommons.org/licenses/by-sa/2.0/">CC-BY-SA</a>, Imagery © <a href="http://mapbox.com">Mapbox</a>',
    accessToken: mapboxAPIToken
}).addTo(mymap);
var pjfanLocationMarker = L.marker(pjfanLocationCoordinates, {icon: pjfanMarkerIcon}).addTo(mymap);
pjfanLocationMarker.bindPopup("<b>Peter \"BBOY\" Fan's Location</b>");


var request = new XMLHttpRequest();
request.open("GET", "https://data.cityofboston.gov/resource/ufcx-3fdn.json?year=2012&month=11&day_week=Thursday", false);
{'fraction_non_alphanumeric': 0.18174726989079562, 'fraction_numerical': 0.0390015600624025, 'mean_word_length': 5.364764267990075, 'pattern_counts': {'":': 0, '<': 19, '<?xml version=': 0, '>': 19, 'https://': 4, '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': '2208155', 'n_tokens_mistral': 1024, 'n_tokens_neox': 945, 'n_words': 169}