{"size": 1043, "ext": "js", "max_stars_repo_path": "public/static/web/js/getCode.js", "max_stars_repo_name": "Wangpaipai/shuijingshi", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "public/static/web/js/getCode.js", "max_issues_repo_name": "Wangpaipai/shuijingshi", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "public/static/web/js/getCode.js", "max_forks_repo_name": "Wangpaipai/shuijingshi", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 20.4509803922, "max_line_length": 46, "alphanum_fraction": 0.4851390221}
var countdown=60; 
function sendemail(){
	
    var obj = $('#getCode');
    settime(obj);
    
    }
function settime(obj) { 
	//发送验证码倒计时
	
    if (countdown == 0) { 
        obj.attr('disabled',false); 
        //obj.removeattr("disabled"); 
        obj.val("获取验证码");
        countdown = 60; 
        return;
    } else { 
        obj.attr('disabled',true);
        obj.val("重新发送(" + countdown + ")");
        countdown--; 
    } 
setTimeout(function() { 
    settime(obj) }
    ,1000) 
}

var countdowns=60; 
function sendemails(){
	
    var objs = $('#getCodes');
    settimes(objs);
    
}
function settimes(objs) { 

	//发送验证码倒计时
    if (countdowns == 0) { 
        objs.attr('disabled',false); 
        //obj.removeattr("disabled"); 
        objs.val("获取验证码");
        countdowns = 60; 
        return;
    } else { 
        objs.attr('disabled',true);
        objs.val("重新发送(" + countdowns + ")");
        countdowns--; 
    } 
setTimeout(function() { 
    settimes(objs) }
    ,1000) 
}