<commit_before>//= require leaflet/draw
//= require leaflet/map

//= require leaflet/draw.translations

const $building_geo_data = {
  element: $('#building_geo_data'),
  save: function(geo_json){
    this.element.val(JSON.stringify(geo_json.toGeoJSON()));
  },
  load(){
    const $geo_json = this.element.val();
    if ($geo_json) {
        drawnLayer.addData(JSON.parse($geo_json));
    }
  }
};

var drawnLayer = L.geoJSON().addTo(map);
map.addLayer(drawnLayer);

// Load json from the form
$building_geo_data.load();

var drawControl = new L.Control.Draw({
    edit: {
        featureGroup: drawnLayer
    },
    draw: {<commit_msg>More ES 6.0 Fixtures for CI Deploy on Heroku<commit_after>//= require leaflet/draw
//= require leaflet/map

//= require leaflet/draw.translations

const $building_geo_data = {
  element: $('#building_geo_data'),
  save: function(geo_json){
    this.element.val(JSON.stringify(geo_json.toGeoJSON()));
  },
  load: function(){
    const $geo_json = this.element.val();
    if ($geo_json) {
        drawnLayer.addData(JSON.parse($geo_json));
    }
  }
};

var drawnLayer = L.geoJSON().addTo(map);
map.addLayer(drawnLayer);

// Load json from the form
$building_geo_data.load();

var drawControl = new L.Control.Draw({
    edit: {
        featureGroup: drawnLayer
    },
    draw: {
{'fraction_non_alphanumeric': 0.15513307984790875, 'fraction_numerical': 0.001520912547528517, 'mean_word_length': 3.5536332179930796, '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': '1455000', 'n_tokens_mistral': 456, 'n_tokens_neox': 451, 'n_words': 87}