<commit_before><!DOCTYPE html>
<html ng-app="demoapp">
<head>
    <script src="http://cdn.leafletjs.com/leaflet-0.7.1/leaflet.js"></script>
    <script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.2.5/angular.min.js"></script>
    <script src="../dist/angular-leaflet-directive.js"></script>
    <script src="plugins/markercluster/leaflet.markercluster-src.js"></script>
    <script src="http://code.jquery.com/jquery-2.0.3.min.js"></script>
    <script src="//netdna.bootstrapcdn.com/bootstrap/3.0.3/js/bootstrap.min.js"></script>
    <link rel="stylesheet" href="http://cdn.leafletjs.com/leaflet-0.7.1/leaflet.css" />
    <link rel="stylesheet" href="http://netdna.bootstrapcdn.com/bootstrap/3.0.3/css/bootstrap.min.css">
    <link rel="stylesheet" href="//netdna.bootstrapcdn.com/bootstrap/3.0.3/css/bootstrap-theme.min.css">
    <script>
        angular.module("demoapp", ["leaflet-directive"]);

        function DemoController($scope) {

            var icons = {
                blue: L.divIcon({
                    iconSize: [10, 10],
                    className: 'blue',
                    iconAnchor:  [5, 5]
                }),
                red: L.divIcon({
                    iconSize: [10, 10],
                    className: 'red',
                    iconAnchor:  [5, 5]
                })
            }

            angular.extend($scope, {
                london: {
                    lat: 51.505,
                    lng: -0.09,
                    zoom: 11
                },

                layers: {
                    baselayers: {
                        openStreetMap: {
                            name: 'OpenStreetMap',
                            type: 'xyz',
                            url: 'http://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png'
                        }
                    },
                    overlays: {
                        red: {
                            type: 'group',
                            name: 'red',
                            visible: false
                        },

                        blue: {
                            type: 'group',
                            name: 'blue',
                            visible: false
                        }
                    }
                },

                markers: {

                    stoke: {
                        layer: 'blue',
                        lat: 51.5615,
                        lng: -0.0731,
                        icon: icons.blue
                    },

                    dalston: {
                        layer: 'blue',
                        lat: 51.545,
                        lng: -0.070,
                        icon: icons.blue
                    },

                    wandsworth: {
                      layer: 'red',
                        lat: 51.4644,
                        lng:-0.1924,
                        icon: icons.red
                    },

                    battersea: {
                        layer: 'red',
                        lat: 51.4638,
                        lng: -0.1677,
                        icon: icons.red
                    }
                },

                toggleLayer: function(type)
                {
                    $scope.layers.overlays[type].visible = !$scope.layers.overlays[type].visible;
                }
            });
        };
    </script>
    <style>
        .red {
            border-radius: 120px;
            opacity: .75;
            background-color: #FF0000;
        }

        .blue {
            border-radius: 120px;
            opacity: .75;
            background-color: #0000FF;
        }
    </style>
</head>
<body ng-controller="DemoController">
<div class="container">
    <div class="row">
        <h2>This is a map with two hidden marker groups</h2>
    </div>
    <div class="row">
        <p>Click here to hide or show the groups:</p>
        <div class="btn-group" data-toggle="buttons">
            <button type="button" ng-click="toggleLayer('red')" class="btn btn-default">Red</button>
            <button type="button" ng-click="toggleLayer('blue')" class="btn btn-default">blue</button>

        </div>
    </div>
    <br />
    <div class="row">
        <leaflet center="london" markers="markers" layers="layers" height="480px" width="640px"></leaflet>
    </div>
</div>
</body>
</html>
<commit_msg>Updated library reference<commit_after><!DOCTYPE html>
<html ng-app="demoapp">
<head>
    <script src="http://cdn.leafletjs.com/leaflet-0.7.1/leaflet.js"></script>
    <script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.2.5/angular.min.js"></script>
    <script src="../dist/angular-leaflet-directive.min.js"></script>
    <script src="plugins/markercluster/leaflet.markercluster-src.js"></script>
    <script src="http://code.jquery.com/jquery-2.0.3.min.js"></script>
    <script src="//netdna.bootstrapcdn.com/bootstrap/3.0.3/js/bootstrap.min.js"></script>
    <link rel="stylesheet" href="http://cdn.leafletjs.com/leaflet-0.7.1/leaflet.css" />
    <link rel="stylesheet" href="http://netdna.bootstrapcdn.com/bootstrap/3.0.3/css/bootstrap.min.css">
    <link rel="stylesheet" href="//netdna.bootstrapcdn.com/bootstrap/3.0.3/css/bootstrap-theme.min.css">
    <script>
        angular.module("demoapp", ["leaflet-directive"]);

        function DemoController($scope) {

            var icons = {
                blue: L.divIcon({
                    iconSize: [10, 10],
                    className: 'blue',
                    iconAnchor:  [5, 5]
                }),
                red: L.divIcon({
                    iconSize: [10, 10],
                    className: 'red',
                    iconAnchor:  [5, 5]
                })
            }

            angular.extend($scope, {
                london: {
                    lat: 51.505,
                    lng: -0.09,
                    zoom: 11
                },

                layers: {
                    baselayers: {
                        openStreetMap: {
                            name: 'OpenStreetMap',
                            type: 'xyz',
                            url: 'http://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png'
                        }
                    },
                    overlays: {
                        red: {
                            type: 'group',
                            name: 'red',
                            visible: false
                        },

                        blue: {
                            type: 'group',
                            name: 'blue',
                            visible: false
                        }
                    }
                },

                markers: {

                    stoke: {
                        layer: 'blue',
                        lat: 51.5615,
                        lng: -0.0731,
                        icon: icons.blue
                    },

                    dalston: {
                        layer: 'blue',
                        lat: 51.545,
                        lng: -0.070,
                        icon: icons.blue
                    },

                    wandsworth: {
                      layer: 'red',
                        lat: 51.4644,
                        lng:-0.1924,
                        icon: icons.red
                    },

                    battersea: {
                        layer: 'red',
                        lat: 51.4638,
                        lng: -0.1677,
                        icon: icons.red
                    }
                },

                toggleLayer: function(type)
                {
                    $scope.layers.overlays[type].visible = !$scope.layers.overlays[type].visible;
                }
            });
        };
    </script>
    <style>
        .red {
            border-radius: 120px;
            opacity: .75;
            background-color: #FF0000;
        }

        .blue {
            border-radius: 120px;
            opacity: .75;
            background-color: #0000FF;
        }
    </style>
</head>
<body ng-controller="DemoController">
<div class="container">
    <div class="row">
        <h2>This is a map with two hidden marker groups</h2>
    </div>
    <div class="row">
        <p>Click here to hide or show the groups:</p>
        <div class="btn-group" data-toggle="buttons">
            <button type="button" ng-click="toggleLayer('red')" class="btn btn-default">Red</button>
            <button type="button" ng-click="toggleLayer('blue')" class="btn btn-default">blue</button>

        </div>
    </div>
    <br />
    <div class="row">
        <leaflet center="london" markers="markers" layers="layers" height="480px" width="640px"></leaflet>
    </div>
</div>
</body>
</html>

{'fraction_non_alphanumeric': 0.13534777651083238, 'fraction_numerical': 0.02531356898517674, 'mean_word_length': 1.0191068139963169, 'pattern_counts': {'":': 0, '<': 97, '<?xml version=': 0, '>': 97, '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': '1539620', 'n_tokens_mistral': 2605, 'n_tokens_neox': 2308, 'n_words': 396}