<commit_before>/*global eyeballApp, $*/

eyeballApp.factory('popover',function(){
    return {
        show : function(e,obj) {
            var el = $(obj);
            el.popup({on : false});
            el.popup('setting','content',$('#popoverContent').html());
            el.popup('setting','variation','small');
            el.popup('setting','position','left center');
            el.popup('show');
        },
        hide : function(e,obj) {
            $(obj).popup('hide');
        }
    };
});<commit_msg>fix popover<commit_after>/*global eyeballApp, $*/

eyeballApp.factory('popover',function(){
    return {
        show : function(e,obj) {
            var el = $(obj);
            el.popup('hide');
            el.popup({on : false});
            el.popup('setting','content',$('#popoverContent').html());
            el.popup('setting','variation','small');
            el.popup('setting','position','left center');
            el.popup('show');
        },
        hide : function(e,obj) {
            $(obj).popup('hide');
        }
    };
});
{'fraction_non_alphanumeric': 0.2060491493383743, 'fraction_numerical': 0.0, 'mean_word_length': 2.060693641618497, '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': '1203696', 'n_tokens_mistral': 301, 'n_tokens_neox': 302, 'n_words': 40}