<commit_before>'use strict';

define(['angular', 'ol', 'toolbar', 'layermanager', 'WfsSource', 'core', 'map', 'query', 'search', 'print', 'permalink', 'measure', 'geolocation', 'angular-gettext','translations'],

    function(angular, ol, toolbar, layermanager, WfsSource) {
        var module = angular.module('hs', [
            'hs.core',
            'hs.toolbar',
            'hs.layermanager',
            'hs.map',
            'hs.query',
            'hs.search', 'hs.print', 'hs.permalink',
            'hs.geolocation',
            'gettext'
        ]);

        module.directive('hs', ['OlMap', 'Core', function(OlMap, Core) {
            return {
                templateUrl: hsl_path + 'hslayers.html',
                link: function(scope, element) {
                    Core.fullscreenMap(element);
                }
            };
        }]);

        module.service('hsService',[function(){
            return {
                makeCrossfilterDimensions : function(source, attribute){
                    var total = source.getFeatures().dimension( function(source) { 
                        //return 
                    });
                    var groupsByTotal = total.group( function(source) { 
                        return source.get(attribute); 
                    });
                    console.log('test');
                    // caur konsoli: var a = angular.element('*[ng-app]').injector().get('hsService');
                }
            };
        }]);

        module.value('box_layers', []);

        var style = new ol.style.Style({
            image: new ol.style.Circle({
                fill: new ol.style.Fill({
                    color: [242, 121, 0, 0.7]
                }),
                stroke: new ol.style.Stroke({<commit_msg>test2<commit_after>'use strict';

define(['angular', 'ol', 'toolbar', 'layermanager', 'WfsSource', 'core', 'map', 'query', 'search', 'print', 'permalink', 'measure', 'geolocation', 'angular-gettext','translations'],

    function(angular, ol, toolbar, layermanager, WfsSource) {
        var module = angular.module('hs', [
            'hs.core',
            'hs.toolbar',
            'hs.layermanager',
            'hs.map',
            'hs.query',
            'hs.search', 'hs.print', 'hs.permalink',
            'hs.geolocation',
            'gettext'
        ]);

        module.directive('hs', ['OlMap', 'Core', function(OlMap, Core) {
            return {
                templateUrl: hsl_path + 'hslayers.html',
                link: function(scope, element) {
                    Core.fullscreenMap(element);
                }
            };
        }]);

        module.service('hsService',[function(){
            return {
                makeCrossfilterDimensions : function(source, attributes){
                    for (var attr in attributes) {
                        var total = source.getFeatures().dimension( function(feature) { 
                            return feature.get(attr)
                        });
                        var groupsByTotal = total.group( function(feature) { 
                            return feature.get(attr); 
                        });
                    }
                    console.log('test');
                    // caur konsoli: var a = angular.element('*[ng-app]').injector().get('hsService');
                }
            };
        }]);

        module.value('box_layers', []);

        var style = new ol.style.Style({
            image: new ol.style.Circle({
                fill: new ol.style.Fill({
                    color: [242, 121, 0, 0.7]
                }),
                stroke: new ol.style.Stroke({
{'fraction_non_alphanumeric': 0.14653519583675706, 'fraction_numerical': 0.005204053683922213, 'mean_word_length': 1.4105610561056106, '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': '6864199', 'n_tokens_mistral': 1017, 'n_tokens_neox': 939, 'n_words': 181}