jquery 脚本 这段代码是什么意思呢?
var ActivityHelper = function(config){
	this.renderTo = config.renderTo;//该控件将要添加到的元素的ID
	this.savePath = config.savePath;//保存活动的后台地址
	this.loadByWeekPath = config.loadByWeekPath;//加载周活动的后台地址
	this.viewPath = config.viewPath;//查看活动的后台地址
	this.deletePath = config.deletePath;//删除活动的后台地址
	this.loadDate = config.loadDate==""?this.nowDate():config.loadDate;//需要载入的活动的所属日期,如果为空则系统会自动载入本天数据
	this.moreInfoPath = config.moreInfoPath;//跳转到活动的详细编辑界面的地址
	this.updatePath = config.updatePath;//活动更新的后台地址
	this.loadByMonthPath = config.loadByMonthPath;//月活动加载地址
	this.init();
}
ActivityHelper.prototype = {
	init : function(){
		var entity = this;
		if(entity.renderTo==""||entity.renderTo==null){
			alert('请配置renderTo属性!!');
			return;
		}
		//初始化周视图
		entity.initWeekView();
		//载入周视图数据
		entity.loadWeekActivity();
	},
……
------解决方案--------------------注释很全啊。。
------解决方案--------------------