日期:2014-05-16  浏览次数:20406 次

项目中写成返回对象的js
KISSY.add('common/blockLinkage',function(S,LinkageIO){

var
$ = S.all, on = S.Event.on, fire = S.Event.fire, delegate
                = S.Event.delegate,
el = {

}';

function blockLinkage(param){
this.opts = S.merge(el,param);
this.init();
}
S.augment(blockLinkage,{

});

return blockLinkage;
},{
requires:['io/linkage','core']
});