<commit_before>
function fetch(url){
	$.getJSON(url,function(x,st){
		if(st==='success'){

			if(x.count>0){

				var _ts=x.topics;
				$.each(_ts,function(i,t){

					//well
					if(t.comments_count>10){
						var _ps=t.photos;
						$.each(_ps,function(j,p){
							addIMG(p.alt,p.title);
						});
					}else{
						//not popular
					}
				});

			}
		}
	});
}


function addIMG(alt,title){
	// todo 
	if(!!alt){

		var img='<img src="'+alt+'" title="'+title+'" class="img-thumbnail" width="58px" >';

		$(img).insertAfter('#_start');
	}


}


var latest;

$('.girls').delegate('img','click',function(){
	if(!!latest){
		sea(latest,'58px');
	}
	sea($(this),'auto');
	latest=$(this);

});

function sea(obj,arg){
	$(obj).css('width',arg);
	$(obj).css('height',arg);
}


var _urls=[
'https://api.douban.com/v2/group/407518/topics?count=40&callback=?',
'https://api.douban.com/v2/group/kaopulove/topics?callback=?',
'https://api.douban.com/v2/group/ai_Junko/topics?callback=?',
'https://api.douban.com/v2/group/haixiuzu/topics?callback=?',
];

function shuffle(o){ 
	for(var j, x, i = o.length; i; j = Math.floor(Math.random() * i), x = o[--i], o[i] = o[j], o[j] = x);
	return o;<commit_msg>Update girls.js<commit_after>
function fetch(url){
	$.getJSON(url,function(x,st){
		if(st==='success'){

			if(x.count>0){

				var _ts=x.topics;
				$.each(_ts,function(i,t){

					//well
					if(t.comments_count>10){
						var _ps=t.photos;
						$.each(_ps,function(j,p){
							addIMG(p.alt,p.title);
						});
					}else{
						//not popular
					}
				});

			}
		}
	});
}


function addIMG(alt,title){
	// todo 
	if(!!alt){

		var img='<img src="'+alt+'" title="'+title+'" class="img-thumbnail" width="5%" >';

		$(img).insertAfter('#_start');
	}


}


var latest;

$('.girls').delegate('img','click',function(){
	if(!!latest){
		sea(latest,'5%');
	}
	sea($(this),'auto');
	latest=$(this);

});

function sea(obj,arg){
	$(obj).css('width',arg);
	$(obj).css('height',arg);
}


var _urls=[
'https://api.douban.com/v2/group/407518/topics?count=2&callback=?',
//'https://api.douban.com/v2/group/kaopulove/topics?callback=?',
//'https://api.douban.com/v2/group/ai_Junko/topics?callback=?',
//'https://api.douban.com/v2/group/haixiuzu/topics?callback=?',
];

function shuffle(o){ 
	for(var j, x, i = o.length; i; j = Math.floor(Math.random() * i), x = o[--i], o[i] = o[j], o[j] = x);
	return o;
{'fraction_non_alphanumeric': 0.25848345203183914, 'fraction_numerical': 0.01466275659824047, 'mean_word_length': 3.601156069364162, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 9, 'https://': 8, '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': '3651256', 'n_tokens_mistral': 1190, 'n_tokens_neox': 1022, 'n_words': 130}