<commit_before>// Generated by CoffeeScript 1.6.1
(function() {
  var root;

  root = this;

  L.GeoJSON.d3 = L.GeoJSON.extend({
    initialize: function(geojson, options) {
      this.geojson = geojson;
      options = options || {};
      options.layerId = options.layerId || ("leaflet-d3-layer-" + (Math.floor(Math.random() * 101)));
      options.onEachFeature = function(geojson, layer) {};
      L.setOptions(this, options);
      return this._layers = {};
    },
    updateData: function(map) {
      var bounds, feature, g, join, path, paths, project, reset, styler, svg;
      g = this._g;
      svg = this._svg;
      paths = g.selectAll("path");
      join = paths.data(this.geojson.features, function(d) {
        return d.id;
      });
      feature = join.enter().append("path");
      join.exit().remove();
      if (this.options.styler != null) {
        styler = this.options.styler;
        feature.attr("styler", function(d) {
          return d.properties[styler];
        });
      }
      project = function(d3pnt) {<commit_msg>updated leaflet d3 layer<commit_after>// Generated by CoffeeScript 1.6.1
(function() {
  var root;

  root = this;

  L.GeoJSON.d3 = L.GeoJSON.extend({
    initialize: function(geojson, options) {
      this.geojson = geojson;
      options = options || {};
      options.layerId = options.layerId || ("leaflet-d3-layer-" + (Math.floor(Math.random() * 101)));
      options.onEachFeature = function(geojson, layer) {};
      L.setOptions(this, options);
      return this._layers = {};
    },
    updateData: function(map) {
      var bounds, feature, g, join, path, paths, project, reset, styler, svg;
      g = this._g;
      svg = this._svg;
      if (this.geojson.type === "Topology") {
        this.geojson = root.topojson.feature(this.geojson, this.geojson.objects.features);
      }
      paths = g.selectAll("path");
      join = paths.data(this.geojson.features, function(d) {
        return d.id;
      });
      feature = join.enter().append("path");
      join.exit().remove();
      if (this.options.styler != null) {
        styler = this.options.styler;
        feature.attr("styler", function(d) {
          return d.properties[styler];
        });
      }
      project = function(d3pnt) {
{'fraction_non_alphanumeric': 0.15824468085106383, 'fraction_numerical': 0.008421985815602837, 'mean_word_length': 2.4992248062015503, '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': '7119909', 'n_tokens_mistral': 742, 'n_tokens_neox': 719, 'n_words': 147}