<commit_before>(function () {
    'use strict';
    function MainCtrl($scope, $timeout) {
        var imageLayer; //This is Jeison's repository if you are not me f*ck you
        var executed = false;
        var ctrl = new L.LayerGroup();
        var map;

        $scope.createMap = function () {

            var mbAttr = '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>',
                mbUrl = 'https://api.tiles.mapbox.com/v4/{id}/{z}/{x}/{y}.png?access_token=<KEY>';

            var grayscale = L.tileLayer(mbUrl, {id: 'mapbox.light', attribution: mbAttr}),
                streets = L.tileLayer(mbUrl, {id: 'mapbox.streets', attribution: mbAttr}),
                outdoors = L.tileLayer(mbUrl, {id: 'mapbox.outdoors', attribution: mbAttr}),
                satellite = L.tileLayer(mbUrl, {id: 'mapbox.satellite', attribution: mbAttr}),
                dark = L.tileLayer(mbUrl, {id: 'mapbox.dark', attribution: mbAttr}),
                light = L.tileLayer(mbUrl, {id: 'mapbox.light', attribution: mbAttr}),
                satellitestreets = L.tileLayer(mbUrl, {id: 'mapbox.streets-satellite', attribution: mbAttr});

            map = L.map('mapid', {
                center: [51.943703, 7.573759], /*Default location */
                zoom: 16, /*Default Zoom, Higher = Closer) */
                layers: [satellite] // Default basemaplayer on startrup, can also give another layer here to show by default)
            });

            var baseLayers = {
                "Grayscale": grayscale,
                "Streets": streets,
                "Outdoors": outdoors,
                "Satellite": satellite,
                "Satellite Streets": satellitestreets,
                "Dark Map": dark,
                "Light Map": light
            };
            ctrl = L.control.layers(baseLayers).addTo(map);

        } //end of createMap Function

        $scope.createMap()

        $scope.zoomRiver = function () {
            map.setView([51.943703, 7.573759], 16);
        }

        $timeout(function () {
                window.dispatchEvent(new Event('resize'))
            },
            200);
    }
    ;
    angular.module('UASWebApp')
        .controller('MainCtrl', MainCtrl)
        ;
})();
<commit_msg>fixes<commit_after>(function () {
    'use strict';
    function MainCtrl($scope, $timeout) {

		var imageLayer; //This is Jeison's repository if you are not me f*ck you
		var executed = false;
		var ctrl = new L.LayerGroup();
		var map;
		
		$scope.createMap = function (){

			var mbAttr = '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>',
				mbUrl = 'https://api.tiles.mapbox.com/v4/{id}/{z}/{x}/{y}.png?access_token=<KEY>';

			var grayscale   = L.tileLayer(mbUrl, {id: 'mapbox.light', attribution: mbAttr}),
				streets  = L.tileLayer(mbUrl, {id: 'mapbox.streets',   attribution: mbAttr}),
				outdoors = L.tileLayer(mbUrl, {id: 'mapbox.outdoors', attribution: mbAttr}),
				satellite = L.tileLayer(mbUrl, {id: 'mapbox.satellite', attribution: mbAttr}),
				dark = L.tileLayer(mbUrl, {id: 'mapbox.dark', attribution: mbAttr}),
				light = L.tileLayer(mbUrl, {id: 'mapbox.light', attribution: mbAttr}),
				satellitestreets = L.tileLayer(mbUrl, {id: 'mapbox.streets-satellite', attribution: mbAttr});

			map = L.map('mapid', {
				center: [51.943703,7.573759], /*Default location */
				zoom: 16, /*Default Zoom, Higher = Closer) */
				layers: [satellite] // Default basemaplayer on startrup, can also give another layer here to show by default)
			});

			var baseLayers = {
				"Grayscale": grayscale,
				"Streets": streets,
				"Outdoors": outdoors,
				"Satellite": satellite,
				"Satellite Streets": satellitestreets,
				"Dark Map": dark,
				"Light Map": light
			};
			ctrl = L.control.layers(baseLayers).addTo(map);

		} //end of createMap Function
        
		$scope.createMap() 
		
		$scope.zoomRiver=function (){
			map.setView([51.943703,7.573759], 16);
		}

        $timeout(function () {
                window.dispatchEvent(new Event('resize'))
            },
            200);
    }
    ;
    angular.module('UASWebApp')
        .controller('MainCtrl', MainCtrl)
        ;
})();

{'fraction_non_alphanumeric': 0.15806951516493248, 'fraction_numerical': 0.017710870046491033, 'mean_word_length': 2.3566121842496286, 'pattern_counts': {'":': 14, '<': 17, '<?xml version=': 0, '>': 17, 'https://': 2, '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': '915894', 'n_tokens_mistral': 1650, 'n_tokens_neox': 1433, 'n_words': 309}