<commit_before>/**
 * Created by zkning on 2016/6/5.
 */

/**session失效**/
function sessionInvalid(){
	if (window != top){
		top.location.href = location.href; 
	}
} 


$.warning = function warning(info){
	$.Notification.notify('warning','bottom right','警告', info);
}

$.error = function error(info){
	$.Notification.notify('error','bottom right','系统异常', info);
}

$.info =  function(info){
	$.Notification.notify('info','bottom right','提示', info);
}<commit_msg>session验证<commit_after>/**
 * Created by zkning on 2016/6/5.
 */

/**session失效**/
function sessionInvalid(){
	if ($("#wrapper").length > 1){
		top.location.href = location.href; 
	}
} 


$.warning = function warning(info){
	$.Notification.notify('warning','bottom right','警告', info);
}

$.error = function error(info){
	$.Notification.notify('error','bottom right','系统异常', info);
}

$.info =  function(info){
	$.Notification.notify('info','bottom right','提示', info);
}
{'fraction_non_alphanumeric': 0.21959095801937567, 'fraction_numerical': 0.013993541442411194, 'mean_word_length': 4.886075949367089, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 4, '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': '1921604', 'n_tokens_mistral': 325, 'n_tokens_neox': 322, 'n_words': 62}