<commit_before>define([
    'openlayers',
    'map/resource-layers',
    'map/layer-model',
    'layers-i18n'
], function(ol, resourceLayers, LayerModel, layerI18n) {
    var layers = resourceLayers.layers;

    layers.push(new LayerModel({
        name: 'Greco-Roman Map',
        categories: ['historical'],
        icon: 'fa fa-bookmark-o',
        infoContent: 'Roman Empire basemap, created by <NAME> with support from the Pelagios project. See credit info in bottom right-hand corner of this page for more information.',
        // 'Roman Empire basemap, created by <NAME> with support from the Pelagios project. <a href="http://pelagios.org/maps/greco-roman/about.html" target="blank">About this map</a>. <a href="http://dare.ht.lu.se/">interactive version</a>, <a href="http://commons.pelagios.org/2012/09/a-digital-map-of-the-roman-empire/">project background</a></p>',
        onMap: true,
        layer: new ol.layer.Tile({
            visible: false,
            source: new ol.source.XYZ({
                url: 'http://pelagios.org/tilesets/imperium/{z}/{x}/{y}.png',
                attributions: [
                    new ol.Attribution({
                      html: '<p style="font-size:14px;"><a href="http://pelagios.org/maps/greco-roman/about.html" target="blank">Pelagios project Greco-Roman basemap</a></p>'
                    })
                ]
            })
        })
    }));

    return layers;
});<commit_msg>deactivate all resources layer by default, re: #12, also rename etc.<commit_after>define([
    'openlayers',
    'map/resource-layers',
    'map/layer-model',
    'layers-i18n'
], function(ol, resourceLayers, LayerModel, layerI18n) {
    var layers = resourceLayers.layers;
    
    // remove the layer showing all resources from map
    // also improve the name and description
    for (i = 0; i < layers.length; i++) {
        if (layers[i].id == "all") {
            layers[i].onMap = false;
            layers[i].name = "All Sites and Complexes";
            layers[i].description = "";
        }
    } 

    layers.push(new LayerModel({
        name: 'Greco-Roman Map',
        categories: ['historical'],
        icon: 'fa fa-bookmark-o',
        infoContent: 'Roman Empire basemap, created by <NAME> with support from the Pelagios project. See credit info in bottom right-hand corner of this page for more information.',
        // 'Roman Empire basemap, created by <NAME> with support from the Pelagios project. <a href="http://pelagios.org/maps/greco-roman/about.html" target="blank">About this map</a>. <a href="http://dare.ht.lu.se/">interactive version</a>, <a href="http://commons.pelagios.org/2012/09/a-digital-map-of-the-roman-empire/">project background</a></p>',
        onMap: true,
        layer: new ol.layer.Tile({
            visible: false,
            source: new ol.source.XYZ({
                url: 'http://pelagios.org/tilesets/imperium/{z}/{x}/{y}.png',
                attributions: [
                    new ol.Attribution({
                      html: '<p style="font-size:14px;"><a href="http://pelagios.org/maps/greco-roman/about.html" target="blank">Pelagios project Greco-Roman basemap</a></p>'
                    })
                ]
            })
        })
    }));

    return layers;
});
{'fraction_non_alphanumeric': 0.15234016518813093, 'fraction_numerical': 0.008259406546344448, 'mean_word_length': 2.306370070778564, 'pattern_counts': {'":': 0, '<': 30, '<?xml version=': 0, '>': 29, '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': '7628517', 'n_tokens_mistral': 1049, 'n_tokens_neox': 991, 'n_words': 233}