<commit_before>/**
 * @fileoverview Define the map component of the map module.
 */
'use strict';

angular.module('map').component('mapComponent', {
    templateUrl: 'map/map.template.html',
    controller: function($scope) {

        //Define some hard-coded markers to be shown on the map
        $scope.markers = [{
            city: 'India',
            lat: 23.200000,
            long: 79.225487
        }, {
            city: 'Gorakhpur',
            lat: 26.7588,
            long: 83.3697
        }];

        $scope.gMap = null;

        let googleMapOption = {
            zoom: 4,
            center: new google.maps.LatLng(25, 80)
        };

        $scope.gMap = new google.maps.Map(document.getElementById('map-container'), googleMapOption);

        // Add a marker to the map
        let createMarker = function(marker) {

            let markersInfo = new google.maps.Marker({
                map: $scope.gMap,
                position: new google.maps.LatLng(marker.lat, marker.long),
                title: marker.city
            });

        };

        //Iterate over the list of markers and add all of them to the map<commit_msg>Remove unneeded initialization of gMap<commit_after>/**
 * @fileoverview Define the map component of the map module.
 */
'use strict';

angular.module('map').component('mapComponent', {
    templateUrl: 'map/map.template.html',
    controller: function($scope) {

        //Define some hard-coded markers to be shown on the map
        $scope.markers = [{
            city: 'India',
            lat: 23.200000,
            long: 79.225487
        }, {
            city: 'Gorakhpur',
            lat: 26.7588,
            long: 83.3697
        }];

        let googleMapOption = {
            zoom: 4,
            center: new google.maps.LatLng(25, 80)
        };

        $scope.gMap = new google.maps.Map(document.getElementById('map-container'), googleMapOption);

        // Add a marker to the map
        let createMarker = function(marker) {

            let markersInfo = new google.maps.Marker({
                map: $scope.gMap,
                position: new google.maps.LatLng(marker.lat, marker.long),
                title: marker.city
            });

        };

        //Iterate over the list of markers and add all of them to the map
{'fraction_non_alphanumeric': 0.11371527777777778, 'fraction_numerical': 0.028645833333333332, 'mean_word_length': 1.7245862884160756, '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': '1081922', 'n_tokens_mistral': 713, 'n_tokens_neox': 628, 'n_words': 179}