(function(){Controller={//控制器类的属性列表attribute1:value1,attribute2:value2};$.extend(Controller,{//控制器类的方法列表init:function(){//初始化方法},otherFunctionName:function(){//其他方法}});})();