<commit_before>'use strict';

/**
 * @ngdoc directive
 * @name geoCtfApp.directive:ctfPopover
 * @description
 * # ctfPopover
 */
angular.module('geoCtfApp')
  .directive('ctfPopover', function ($timeout) {
    return {
        restrict: 'A',
        link: function (scope, el, attrs) {
            $timeout(function(){
	            $(el).popover({
                    html: true,
	                trigger: attrs.popoverTrigger ? attrs.popoverTrigger : 'hover',
	                content: attrs.popoverContent ? attrs.popoverContent : 'Popover Content',
	                placement: attrs.popoverPlacement ? attrs.popoverPlacement : 'bottom',
	                container: attrs.popoverContainer ? attrs.popoverContainer : el.prev(),
                    delay: attrs.popoverDelay ? {"show": 0, "hide": 0} : {"show": 1800, "hide" : 300},
	            });

            	if(attrs.popoverShow){
        			$(el).popover('show');
            	}
            })
        }
    };
  });
  <commit_msg>Changing hover delay on popover event<commit_after>'use strict';

/**
 * @ngdoc directive
 * @name geoCtfApp.directive:ctfPopover
 * @description
 * # ctfPopover
 */
angular.module('geoCtfApp')
  .directive('ctfPopover', function ($timeout) {
    return {
        restrict: 'A',
        link: function (scope, el, attrs) {
            $timeout(function(){
	            $(el).popover({
                    html: true,
	                trigger: attrs.popoverTrigger ? attrs.popoverTrigger : 'hover',
	                content: attrs.popoverContent ? attrs.popoverContent : 'Popover Content',
	                placement: attrs.popoverPlacement ? attrs.popoverPlacement : 'bottom',
	                container: attrs.popoverContainer ? attrs.popoverContainer : el.prev(),
                    delay: attrs.popoverDelay ? {"show": 0, "hide": 0} : {"show": 1000, "hide" : 300},
	            });

            	if(attrs.popoverShow){
        			$(el).popover('show');
            	}
            })
        }
    };
  });
  
{'fraction_non_alphanumeric': 0.14, 'fraction_numerical': 0.009, 'mean_word_length': 1.934017595307918, 'pattern_counts': {'":': 6, '<': 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': '5882785', 'n_tokens_mistral': 612, 'n_tokens_neox': 583, 'n_words': 111}