<commit_before>/* jshint strict: true, undef: true, unused: true */
/* globals  jQuery : false, setTimeout : false, ifs_closeCss  */

//simple javscript, waits x amount of seconds and removes a Css Class
//Animation and styling is done with css
//used for closing notifications but could be used for different things

 var ifs_closeCss = (function(){
    "use strict";
    var s; // private alias to settings 

    return {
        settings : {
            isOpenCssClass : 'is-open',
            timeOpen : 3000
        },
        init : function(){
        	s = this.settings;
        	var el = jQuery('.'+s.isOpenCssClass);
        	if(el.length){
		        setTimeout(function(){
	            	el.removeClass(s.isOpenCssClass);
	        	},s.timeOpen);
        	}
        }
	};
})();<commit_msg>INFUND-845 The assign notification should be disappeared after a couple of seconds<commit_after>/* jshint strict: true, undef: true, unused: true */
/* globals  jQuery : false, setTimeout : false */

//simple javscript, waits x amount of seconds and removes a Css Class
//Animation and styling is done with css
//used for closing notifications but could be used for different things

 var ifs_closeCss = (function(){
    "use strict";
    var s; // private alias to settings 

    return {
        settings : {
            isOpenCssClass : 'is-open',
            timeOpen : 3000
        },
        init : function(){
        	s = this.settings;
        	ifs_closeCss.removeCssClass(s.isOpenCssClass,s.timeOpen);
        },
       	removeCssClass : function(cssClass,seconds){
        	var el = jQuery('.'+cssClass);
        	if(el.length){
		        setTimeout(function(){
	            	el.removeClass(cssClass);
	        	},seconds);
        	}
        }
	};
})();
{'fraction_non_alphanumeric': 0.11054421768707483, 'fraction_numerical': 0.006235827664399093, 'mean_word_length': 2.18018018018018, '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': '7321675', 'n_tokens_mistral': 534, 'n_tokens_neox': 504, 'n_words': 157}